extcon: Add an API to get extcon device from dt node
authorKishon Vijay Abraham I <kishon@ti.com>
Tue, 11 Jun 2013 11:48:02 +0000 (20:48 +0900)
committerChanho Park <chanho61.park@samsung.com>
Tue, 18 Nov 2014 02:44:56 +0000 (11:44 +0900)
commit1bba9e80bd2294c0120e50b425cdc9ca2ca2987d
tree5f2e0537d8428b00b2d9b21e769772bf125839d0
parent1cd0e18276a2296dbde04b6d0d1c112a06e8e7f2
extcon: Add an API to get extcon device from dt node

Added an API of_extcon_get_extcon_dev() to be used by drivers to get
extcon device in the case of dt boot (this can be used instead of
extcon_get_extcon_dev()).

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/Kconfig
drivers/extcon/Makefile
drivers/extcon/extcon-class.c
drivers/extcon/of_extcon.c [new file with mode: 0644]
include/linux/extcon/of_extcon.h [new file with mode: 0644]