Skip to contentSkip to conversation

extcon: fix devm_extcon_dev_register comment

PATCH New Angelo Dureghello 1 participant 1 message Feb 11 External connector subsystem (extcon)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 extcon: fix devm_extcon_dev_register comment

From: Angelo Dureghello <[email protected]>

Fix incomplete function comment.

---
 drivers/extcon/devres.c | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)
drivers/extcon/devres.c +5 -3
index f9d52e8ec5cf..7a23950ba82f 100644
@@ -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.
Signature · 1 line
2.52.0