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)
commitf63d32d4080407176082ef2cc439a3c81b15af16
tree9cd02f8155452c6cf1e6bf927310690694001761
parenta798c10faf62a505d24e5f6213fbaf904a39623f
extcon: palmas: explicitly set edev name as node name

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