extcon: Add stubs for extcon_register_notifier_all() functions
authorKrzysztof Kozlowski <krzk@kernel.org>
Thu, 31 Dec 2020 08:52:52 +0000 (09:52 +0100)
committerChanwoo Choi <cw00.choi@samsung.com>
Mon, 15 Mar 2021 02:09:38 +0000 (11:09 +0900)
commitc9570d4a5efd04479b3cd09c39b571eb031d94f4
tree2682f965bfd0e37622a75ffc4fd3875048fc566f
parent1e28eed17697bcf343c6743f0028cc3b5dd88bf0
extcon: Add stubs for extcon_register_notifier_all() functions

Add stubs for extcon_register_notifier_all() function for !CONFIG_EXTCON
case.  This is useful for compile testing and for drivers which use
EXTCON but do not require it (therefore do not depend on CONFIG_EXTCON).

Fixes: 815429b39d94 ("extcon: Add new extcon_register_notifier_all() to monitor all external connectors")
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
include/linux/extcon.h