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)
committerChanwoo Choi <cw00.choi@samsung.com>
Sun, 4 Aug 2013 23:52:45 +0000 (08:52 +0900)
commit6eee5b3b493824731ed34ade0299241f91f04096
tree7bb211aa395c43ef155373fe7049219fadd417dd
parent5ae90d8e467e625e447000cb4335c4db973b1095
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]