extcon: palmas: remove assigning "edev.name" to palmas
authorKishon Vijay Abraham I <kishon@ti.com>
Fri, 14 Jun 2013 13:18:24 +0000 (18:48 +0530)
committerChanwoo Choi <cw00.choi@samsung.com>
Sun, 4 Aug 2013 23:53:33 +0000 (08:53 +0900)
commitfc57303a82bcef7b43de39ac0d177400ff4e715f
tree84399ca4b086ffdc37c416cafcc8c823e8ac8708
parent8061ad7239f3f97b477984660e95134ca684578c
extcon: palmas: remove assigning "edev.name" to palmas

of_extcon_get_extcon_dev() uses dev_name for getting the reference
to the extcon device. If the extcon driver assigns a different
name other than dev_name, of_extcon_get_extcon_dev() wouldn't
be able to find the reference to the extcon device. Since the
client drivers of extcon-palmas would be using
of_extcon_get_extcon_dev(), removed assigning edev.name
in extcon-palmas.

Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Signed-off-by: Myungjoo Ham <myungjoo.ham@samsung.com>
drivers/extcon/extcon-palmas.c