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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 7 Apr 2021 13:00:11 +0000 (15:00 +0200)
commit023d13952e9b7479e60d79098a7dcc82276ea315
treee098e08cca95ee4ff4e7d3db7ba82d9a4260c26a
parent0fe56e294cef043d0ed4ef0331961ffaf3e948bd
extcon: Add stubs for extcon_register_notifier_all() functions

[ Upstream commit c9570d4a5efd04479b3cd09c39b571eb031d94f4 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
include/linux/extcon.h