public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] extcon: fix devm_extcon_dev_register comment
@ 2026-02-11 15:54 Angelo Dureghello
  0 siblings, 0 replies; only message in thread
From: Angelo Dureghello @ 2026-02-11 15:54 UTC (permalink / raw)
  To: myungjoo.ham, cw00.choi; +Cc: linux-kernel, Angelo Dureghello

From: Angelo Dureghello <adureghello@baylibre.com>

Fix incomplete function comment.

Signed-off-by: Angelo Dureghello <adureghello@baylibre.com>
---
 drivers/extcon/devres.c | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/drivers/extcon/devres.c b/drivers/extcon/devres.c
index f9d52e8ec5cf..7a23950ba82f 100644
--- a/drivers/extcon/devres.c
+++ b/drivers/extcon/devres.c
@@ -106,9 +106,11 @@ EXPORT_SYMBOL_GPL(devm_extcon_dev_free);
  * @dev:	the device owning the extcon device being created
  * @edev:	the extcon device to be registered
  *
- * this function, that extcon device is automatically unregistered on driver
- * detach. Internally this function calls extcon_dev_register() function.
- * To get more information, refer that function.
+ * This function registers extcon device. Using this function extcon device is
+ * automatically unregistered on driver detach.
+ *
+ * Internally this function calls extcon_dev_register() function. To get more
+ * information, refer that function.
  *
  * If extcon device is registered with this function and the device needs to be
  * unregistered separately, devm_extcon_dev_unregister() should be used.
-- 
2.52.0


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-02-11 15:58 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-02-11 15:54 [PATCH] extcon: fix devm_extcon_dev_register comment Angelo Dureghello

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox