aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/linux/extcon.h
diff options
context:
space:
mode:
authorChanwoo Choi <cw00.choi@samsung.com>2016-06-27 21:09:04 +0900
committerChanwoo Choi <cw00.choi@samsung.com>2016-06-29 19:50:43 +0900
commitbc92126012c8c84988eebbbf9c8a246949b07462 (patch)
tree06af32ba8d583255ee22be97bd02274d176651fe /include/linux/extcon.h
parentextcon: Add resource-managed functions to register extcon notifier (diff)
downloadwireguard-linux-bc92126012c8c84988eebbbf9c8a246949b07462.tar.xz
wireguard-linux-bc92126012c8c84988eebbbf9c8a246949b07462.zip
extcon: Fix the wrong description about extcon_set/get_cable_state_()
This patch fixes the wrong description about extcon_set/get_cable_state_() because they use the unique id of external connector instead of legacy name. Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Diffstat (limited to 'include/linux/extcon.h')
-rw-r--r--include/linux/extcon.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/extcon.h b/include/linux/extcon.h
index 7bf530f3f4f5..61004413dc64 100644
--- a/include/linux/extcon.h
+++ b/include/linux/extcon.h
@@ -165,7 +165,7 @@ extern int extcon_update_state(struct extcon_dev *edev, u32 mask, u32 state);
/*
* get/set_cable_state access each bit of the 32b encoded state value.
- * They are used to access the status of each cable based on the cable_name.
+ * They are used to access the status of each cable based on the cable id.
*/
extern int extcon_get_cable_state_(struct extcon_dev *edev, unsigned int id);
extern int extcon_set_cable_state_(struct extcon_dev *edev, unsigned int id,