extcon: arizona: Remove the setting of device name
authorChanwoo Choi <cw00.choi@samsung.com>
Wed, 15 Apr 2015 06:33:44 +0000 (15:33 +0900)
committerChanwoo Choi <cw00.choi@samsung.com>
Tue, 19 May 2015 07:39:05 +0000 (16:39 +0900)
commita71fbc1525c4fbe894c52256404575c5f697c571
treee5adf805a450d3f00bd6311b1a12e9efc2ea0f89
parentb9ec23c08a0274d31ee626f14b359563ea0cae46
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>
drivers/extcon/extcon-arizona.c