Skip to contentSkip to conversation

extcon: Fix kerneldoc for extcon_set_cable_state and extcon_set_cable_state_

PATCH Applied Axel Lin 2 participants 2 messages Oct 2, 2012 – Oct 4, 2012 External connector subsystem (extcon)

lore
Share & tools
lore

Axel Lin

author
#0 lore raw

PATCH 1/1 extcon: Fix kerneldoc for extcon_set_cable_state and extcon_set_cable_state_

---
 drivers/extcon/extcon-class.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/extcon/extcon-class.c +2 -2
index 946a318..337bbb4 100644
@@ -362,7 +362,7 @@ int extcon_get_cable_state(struct extcon_dev *edev, const char *cable_name)
 EXPORT_SYMBOL_GPL(extcon_get_cable_state);
 
 /**
- * extcon_get_cable_state_() - Set the status of a specific cable.
+ * extcon_set_cable_state_() - Set the status of a specific cable.
  * @edev:	the extcon device that has the cable.
  * @index:	cable index that can be retrieved by extcon_find_cable_index().
  * @cable_state:	the new cable status. The default semantics is
@@ -382,7 +382,7 @@ int extcon_set_cable_state_(struct extcon_dev *edev,
 EXPORT_SYMBOL_GPL(extcon_set_cable_state_);
 
 /**
- * extcon_get_cable_state() - Set the status of a specific cable.
+ * extcon_set_cable_state() - Set the status of a specific cable.
  * @edev:	the extcon device that has the cable.
  * @cable_name:	cable name.
  * @cable_state:	the new cable status. The default semantics is
Signature · 1 line
1.7.9.5
maintainer Applied
#1 lore raw
Quoted 19 lines · Axel Lin
---
 drivers/extcon/extcon-class.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/extcon/extcon-class.c +1 -1
index 946a318..337bbb4 100644
@@ -362,7 +362,7 @@ int extcon_get_cable_state(struct extcon_dev *edev, const char *cable_name)
 EXPORT_SYMBOL_GPL(extcon_get_cable_state);
 
 /**
- * extcon_get_cable_state_() - Set the status of a specific cable.
+ * extcon_set_cable_state_() - Set the status of a specific cable.
  * @edev:	the extcon device that has the cable.
  * @index:	cable index that can be retrieved by extcon_find_cable_index().
  * @cable_state:	the new cable status. The default semantics is

drivers/extcon/extcon-class.c int extcon_set_cable_state_(struct extcon_dev *edev, · line 388

Quoted 8 lines
drivers/extcon/extcon-class.c +1 -1
@@ -382,7 +382,7 @@ int extcon_set_cable_state_(struct extcon_dev *edev,
 EXPORT_SYMBOL_GPL(extcon_set_cable_state_);
 
 /**
- * extcon_get_cable_state() - Set the status of a specific cable.
+ * extcon_set_cable_state() - Set the status of a specific cable.
  * @edev:	the extcon device that has the cable.
  * @cable_name:	cable name.
  * @cable_state:	the new cable status. The default semantics is

Applied, thanks.

I applied this patch at extcon git repository
and you can check it after some hours.
-
http://git.infradead.org/users/kmpark/linux-samsung/shortlog/refs/heads/extcon-for-next

Thank you,
Chanwoo Choi