leds: Make flash and multicolor dependencies unconditional
authorArnd Bergmann <arnd@arndb.de>
Tue, 9 Jan 2024 09:06:40 +0000 (10:06 +0100)
committerLee Jones <lee@kernel.org>
Thu, 7 Mar 2024 08:48:03 +0000 (08:48 +0000)
commit09e3f3244e8480d53873bb86a3808edaa3f4e314
treefdae56f8bfc15869ee1a81f8ca17f7c404f032c0
parent211f8ec9400b58fb97cf4b6bd7033781e889bf53
leds: Make flash and multicolor dependencies unconditional

Along the same lines as making devm_led_classdev_register() declared
extern unconditional, do the same thing for the two sub-classes
that have similar stubs.

The users of these interfaces go to great lengths to allow building
with both the generic leds API and the extended version, but realistically
there is not much use in this, so just simplify it to always rely
on it and remove the confusing fallback logic.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Link: https://lore.kernel.org/r/20240109090715.982332-2-arnd@kernel.org
Signed-off-by: Lee Jones <lee@kernel.org>
drivers/leds/Kconfig
drivers/leds/flash/Kconfig
drivers/staging/greybus/Kconfig
drivers/staging/greybus/light.c
include/linux/led-class-flash.h
include/linux/led-class-multicolor.h