extcon: Modify the device name as extcon[X] for sysfs
authorChanwoo Choi <cw00.choi@samsung.com>
Wed, 15 Apr 2015 06:02:01 +0000 (15:02 +0900)
committerChanwoo Choi <cw00.choi@samsung.com>
Tue, 19 May 2015 07:39:04 +0000 (16:39 +0900)
commit71c3ffa5d23af0554c27010cf12710da9bf85950
treeb6164dd3c46e9e2fc963d6386d8a36b3ff6621db
parentf03123783d4e43cd59df58e23e963136e04f8280
extcon: Modify the device name as extcon[X] for sysfs

This patch modify the device name as extcon[X] for sysfs by using the 'extcon'
prefix word instead of separate device name. On user-space aspect, user would
find the some extcon drvier with extcon[X] pattern. So, this patch modify the
device name as following:
- /sys/class/extcon/[device name] -> /sys/class/extcon/extcon[X]

Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
drivers/extcon/extcon.c