extcon: palmas: explicitly set edev name as node name
authorKishon Vijay Abraham I <kishon@ti.com>
Fri, 28 Mar 2014 06:51:02 +0000 (12:21 +0530)
committerChanwoo Choi <cw00.choi@samsung.com>
Tue, 22 Apr 2014 06:41:10 +0000 (15:41 +0900)
commit ca488 (extcon: of: Remove unnecessary function call by using the
name of device_node) started using node name instead of device name
to get the extcon device. This breaks dwc3-omap since it's not able to
get the extcon device anymore. Fixed it by setting edev name of
palmas to be the same as its node name.

Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Reported-by: Felipe Balbi <balbi@ti.com>
Reviewed-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
drivers/extcon/extcon-palmas.c

Simple merge