diff options
| author | Quentin Schulz <[email protected]> | 2025-11-19 17:43:46 +0100 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2025-12-05 10:34:52 -0600 |
| commit | c31f51d502af4d9897d4d9e4d0048912f0deff6f (patch) | |
| tree | 3f14c8cf47048a782c4375f4b18ff9f8c435c2d2 /drivers | |
| parent | abc34fa944aefca393ca30ffc05cb608c3cb7ade (diff) | |
led: remove coloured_LED_init, yellow and blue status LEDs in legacy API
The last user of coloured_LED_init has been recently removed, so we can
remove all places it's called and defined as it does nothing now.
Nobody makes use of the yellow and blue status LEDs from the legacy API,
so let's remove all references to it.
Signed-off-by: Quentin Schulz <[email protected]>
Diffstat (limited to 'drivers')
| -rw-r--r-- | drivers/led/Kconfig | 28 | ||||
| -rw-r--r-- | drivers/misc/gpio_led.c | 24 |
2 files changed, 0 insertions, 52 deletions
diff --git a/drivers/led/Kconfig b/drivers/led/Kconfig index 1cd3638cb16..1077792efb0 100644 --- a/drivers/led/Kconfig +++ b/drivers/led/Kconfig @@ -414,34 +414,6 @@ config LED_STATUS_RED endif # LED_STATUS_RED_ENABLE -config LED_STATUS_YELLOW_ENABLE - bool "Enable yellow LED" - help - Enable yellow status LED. - -if LED_STATUS_YELLOW_ENABLE - -config LED_STATUS_YELLOW - int "Yellow LED identification" - help - Valid enabled LED device number. - -endif # LED_STATUS_YELLOW_ENABLE - -config LED_STATUS_BLUE_ENABLE - bool "Enable blue LED" - help - Enable blue status LED. - -if LED_STATUS_BLUE_ENABLE - -config LED_STATUS_BLUE - int "Blue LED identification" - help - Valid enabled LED device number. - -endif # LED_STATUS_BLUE_ENABLE - config LED_STATUS_GREEN_ENABLE bool "Enable green LED" help diff --git a/drivers/misc/gpio_led.c b/drivers/misc/gpio_led.c index e63689967a7..e806b1f241f 100644 --- a/drivers/misc/gpio_led.c +++ b/drivers/misc/gpio_led.c @@ -79,28 +79,4 @@ void green_led_off(void) } #endif -#ifdef CONFIG_LED_STATUS_YELLOW -void yellow_led_on(void) -{ - __led_set(CONFIG_LED_STATUS_YELLOW, CONFIG_LED_STATUS_ON); -} - -void yellow_led_off(void) -{ - __led_set(CONFIG_LED_STATUS_YELLOW, CONFIG_LED_STATUS_OFF); -} -#endif - -#ifdef CONFIG_LED_STATUS_BLUE -void blue_led_on(void) -{ - __led_set(CONFIG_LED_STATUS_BLUE, CONFIG_LED_STATUS_ON); -} - -void blue_led_off(void) -{ - __led_set(CONFIG_LED_STATUS_BLUE, CONFIG_LED_STATUS_OFF); -} -#endif - #endif /* CONFIG_GPIO_LED_STUBS */ |
