extcon: Fix kerneldoc for extcon_set_cable_state and extcon_set_cable_state_
PATCH 1/1 extcon: Fix kerneldoc for extcon_set_cable_state and extcon_set_cable_state_
Signed-off-by Axel Lin <[email protected]>
--- drivers/extcon/extcon-class.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/extcon/extcon-class.c +2 -2
@@ -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
Quoted 19 lines · Axel Lin
Signed-off-by Axel Lin <[email protected]>--- drivers/extcon/extcon-class.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)drivers/extcon/extcon-class.c +1
-1@@ -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