ath9k_htc: Do not select MAC80211_LEDS by default
authorKrzysztof Kozlowski <krzk@kernel.org>
Thu, 20 Aug 2020 12:04:44 +0000 (14:04 +0200)
committerKalle Valo <kvalo@codeaurora.org>
Thu, 27 Aug 2020 10:16:54 +0000 (13:16 +0300)
The ath9k_htc driver hides all LEDs related code behind
CONFIG_MAC80211_LEDS ifdefs so it does not really require the
MAC80211_LEDS.  The code builds and works just fine.  Convert the
"select" into "imply" to allow disabling LED trigger when not needed.

Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/20200820120444.8809-1-krzk@kernel.org
drivers/net/wireless/ath/ath9k/Kconfig

index d5e9af2dddd84b856cac941fb9708b156453ab5e..5effb3886631a5e3b31c890519121f04836ab8f5 100644 (file)
@@ -177,10 +177,10 @@ config ATH9K_HTC
        tristate "Atheros HTC based wireless cards support"
        depends on USB && MAC80211
        select ATH9K_HW
-       select MAC80211_LEDS
-       select LEDS_CLASS
-       select NEW_LEDS
        select ATH9K_COMMON
+       imply NEW_LEDS
+       imply LEDS_CLASS
+       imply MAC80211_LEDS
        help
          Support for Atheros HTC based cards.
          Chipsets supported: AR9271