[PATCH] extcon: fix devm_extcon_dev_register comment
From: Angelo Dureghello
Date: Wed Feb 11 2026 - 10:59:20 EST
From: Angelo Dureghello <adureghello@xxxxxxxxxxxx>
Fix incomplete function comment.
Signed-off-by: Angelo Dureghello <adureghello@xxxxxxxxxxxx>
---
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