extcon: max14577: Change extcon name instead of static name according to device type
authorChanwoo Choi <cw00.choi@samsung.com>
Mon, 14 Apr 2014 09:17:12 +0000 (11:17 +0200)
committerLee Jones <lee.jones@linaro.org>
Wed, 23 Apr 2014 13:07:16 +0000 (14:07 +0100)
commit4005da5ce8cd21e2566a3cb51f74be9acdc457a9
treebe035c425be44ffc93852f297551893999cd2b92
parenta798c10faf62a505d24e5f6213fbaf904a39623f
extcon: max14577: Change extcon name instead of static name according to device type

This patch use device name to make sysfs path according to device type:

max14577-muic
- /sys/class/extcon/max14577-muic/
max77836-muic
- /sys/class/extcon/max77836-muic/

Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Acked-by: Chanwoo Choi <cw00.choi@samsung.com>
Tested-by: Chanwoo Choi <cw00.choi@samsung.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/extcon/extcon-max14577.c