summaryrefslogtreecommitdiff
path: root/drivers/extcon
diff options
context:
space:
mode:
authorCharles Keepax <ckeepax@opensource.wolfsonmicro.com>2015-11-20 11:53:59 +0300
committerChanwoo Choi <cw00.choi@samsung.com>2015-11-24 02:59:11 +0300
commit832df9e8ecabec271a0c418bdbb94da826dc5b6d (patch)
tree859c241127899949e9123e3cf6eb8ac4b5187d03 /drivers/extcon
parent36a86872964609f2596d22f323070b60b17e08ef (diff)
downloadlinux-832df9e8ecabec271a0c418bdbb94da826dc5b6d.tar.xz
extcon: arizona: Update naming for second jack detection DT binding
Update the name for the second jack detection pin binding to be a little less confusing. Signed-off-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com> Acked-by: Rob Herring <robh@kernel.org> Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Diffstat (limited to 'drivers/extcon')
-rw-r--r--drivers/extcon/extcon-arizona.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/extcon/extcon-arizona.c b/drivers/extcon/extcon-arizona.c
index 7c9598db318d..c377030807c4 100644
--- a/drivers/extcon/extcon-arizona.c
+++ b/drivers/extcon/extcon-arizona.c
@@ -1245,9 +1245,9 @@ static int arizona_extcon_device_get_pdata(struct arizona *arizona)
device_property_read_u32(arizona->dev, "wlf,gpsw", &pdata->gpsw);
pdata->jd_gpio5 = device_property_read_bool(arizona->dev,
- "wlf,use-jd-gpio");
+ "wlf,use-jd2");
pdata->jd_gpio5_nopull = device_property_read_bool(arizona->dev,
- "wlf,use-jd-gpio-nopull");
+ "wlf,use-jd2-nopull");
return 0;
}