[PATCH] extcon: fix devm_extcon_dev_register comment

Angelo Dureghello posted 1 patch 1 month, 2 weeks ago
drivers/extcon/devres.c | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
[PATCH] extcon: fix devm_extcon_dev_register comment
Posted by Angelo Dureghello 1 month, 2 weeks ago
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