]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit5efe2bc8e8da1977bfb3944b6feaa20c21125da0
treecb032778a60b92a82ef550f46c49d9b42a4e132a
parent990cacf14c319f1bb3d62eef42d8769bda4b4e34
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