UPSTREAM: extcon: Fix the wrong description about extcon_set/get_cable_state_()
authorChanwoo Choi <cw00.choi@samsung.com>
Mon, 27 Jun 2016 12:09:04 +0000 (21:09 +0900)
committerHuang, Tao <huangtao@rock-chips.com>
Wed, 3 Aug 2016 02:06:53 +0000 (10:06 +0800)
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.

Change-Id: I954d0905c966b5128e9de577db9633f6b4b398bb
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Signed-off-by: Chris Zhong <zyw@rock-chips.com>
(cherry picked from commit bc92126012c8c84988eebbbf9c8a246949b07462)

include/linux/extcon.h

index 7bf530f3f4f54c95f135de767daf738bd0aff6d8..61004413dc649594ca17b2d0453678d1b2cc621f 100644 (file)
@@ -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,