brcmsmac: rework LED dependencies
authorArnd Bergmann <arnd@arndb.de>
Sat, 4 Dec 2021 17:38:34 +0000 (18:38 +0100)
committerKalle Valo <kvalo@kernel.org>
Wed, 8 Dec 2021 18:17:06 +0000 (20:17 +0200)
commitc68115fc537518b8ff2c54b3e2984a60977affed
treeb90fef3b9816b5c105ee2d8360279af78493e30b
parentefdbfa0ad03e764419378485d1b8f6e7706fb1a3
brcmsmac: rework LED dependencies

This is now the only driver that selects the LEDS_CLASS framework,
which is normally user-selectable. While it doesn't strictly cause
a bug, rework the Kconfig logic to be more consistent with what
other drivers do, and only enable LED support in brcmsmac if the
dependencies are all there, rather than using 'select' to enable
what it needs.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://lore.kernel.org/r/20211204173848.873293-2-arnd@kernel.org
drivers/net/wireless/broadcom/brcm80211/Kconfig
drivers/net/wireless/broadcom/brcm80211/brcmsmac/Makefile
drivers/net/wireless/broadcom/brcm80211/brcmsmac/led.h