OSDN Git Service

extcon: add possibility to get extcon device by OF node
authorAndrzej Hajda <a.hajda@samsung.com>
Tue, 27 Feb 2018 12:22:07 +0000 (13:22 +0100)
committerChanwoo Choi <cw00.choi@samsung.com>
Thu, 8 Mar 2018 01:34:44 +0000 (10:34 +0900)
commit370ed7a9b9176d68c7b13e6cef32efa6ac5b2d97
treecb032778a60b92a82ef550f46c49d9b42a4e132a
parent14217173217e021c1f354269e61f3c1d5affc42e
extcon: add possibility to get extcon device by OF node

Since extcon property is not allowed in DT, extcon subsystem requires
another way to get extcon device. Lets try the simplest approach - get
edev by of_node.

Signed-off-by: Andrzej Hajda <a.hajda@samsung.com>
Acked-by: Chanwoo Choi <cw00.choi@samsung.com>
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
drivers/extcon/extcon.c
include/linux/extcon.h