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)
committerChanho Park <chanho61.park@samsung.com>
Tue, 18 Nov 2014 02:47:31 +0000 (11:47 +0900)
commit96a17925ba8b9c5726c6421f496055ef75dc8f6c
treef8e8a1e221ce98b860cdc9f94980360da19325ea
parent0594b2ba5c84a654045178a91bd3afaf12dffa0d
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