提交 bc921260 编写于 作者: C Chanwoo Choi

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: NChanwoo Choi <cw00.choi@samsung.com>
上级 58f38656
...@@ -165,7 +165,7 @@ extern int extcon_update_state(struct extcon_dev *edev, u32 mask, u32 state); ...@@ -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. * 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_get_cable_state_(struct extcon_dev *edev, unsigned int id);
extern int extcon_set_cable_state_(struct extcon_dev *edev, unsigned int id, extern int extcon_set_cable_state_(struct extcon_dev *edev, unsigned int id,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册