extcon: of: Remove unnecessary function call by using the name of device_node
authorChanwoo Choi <cw00.choi@samsung.com>
Tue, 18 Mar 2014 10:09:41 +0000 (19:09 +0900)
committerMarek Szyprowski <m.szyprowski@samsung.com>
Thu, 15 May 2014 05:28:38 +0000 (07:28 +0200)
commit3303647842d1a726498c42f32732a3829d36c818
treeaa66ae45eb8462df1e6227f65310c4d751af3bdb
parent9e8719f5dc4ef2302d247ed7b32c9bd2901c4395
extcon: of: Remove unnecessary function call by using the name of device_node

This patch remove unnecessary function call in of_extcon_get_extcon_dev()
by using the name of device_node structure.

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