summaryrefslogtreecommitdiff
path: root/drivers/extcon
diff options
context:
space:
mode:
authorChanwoo Choi <cw00.choi@samsung.com>2015-04-15 09:33:44 +0300
committerChanwoo Choi <cw00.choi@samsung.com>2015-05-19 10:39:05 +0300
commita71fbc1525c4fbe894c52256404575c5f697c571 (patch)
treee5adf805a450d3f00bd6311b1a12e9efc2ea0f89 /drivers/extcon
parentb9ec23c08a0274d31ee626f14b359563ea0cae46 (diff)
downloadlinux-a71fbc1525c4fbe894c52256404575c5f697c571.tar.xz
extcon: arizona: Remove the setting of device name
This patch removes the setting of device name. Instead, extcon_dev_register() set the device name such as 'extcon[number]' naming method. - /sys/class/extcon/Headset Jack -> /sys/class/extcon/extcon[number] Cc: Charles Keepax <ckeepax@opensource.wolfsonmicro.com> Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com> Acked-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
Diffstat (limited to 'drivers/extcon')
-rw-r--r--drivers/extcon/extcon-arizona.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/extcon/extcon-arizona.c b/drivers/extcon/extcon-arizona.c
index 830c5f94bc18..50975b3123d6 100644
--- a/drivers/extcon/extcon-arizona.c
+++ b/drivers/extcon/extcon-arizona.c
@@ -1185,7 +1185,6 @@ static int arizona_extcon_probe(struct platform_device *pdev)
dev_err(&pdev->dev, "failed to allocate extcon device\n");
return -ENOMEM;
}
- info->edev->name = "Headset Jack";
ret = devm_extcon_dev_register(&pdev->dev, info->edev);
if (ret < 0) {