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: NKishon Vijay Abraham I <kishon@ti.com> Signed-off-by: NChanwoo Choi <cw00.choi@samsung.com> Signed-off-by: NMyungjoo Ham <myungjoo.ham@samsung.com>
Showing
drivers/extcon/of_extcon.c
0 → 100644
include/linux/extcon/of_extcon.h
0 → 100644
想要评论请 注册 或 登录