diff options
| author | Quentin Schulz <[email protected]> | 2025-11-19 18:01:13 +0100 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2025-12-05 13:38:09 -0600 |
| commit | 16415e9563ec04241c58f0a85cd2fc1d89f3033e (patch) | |
| tree | 0d9a1cd594c14ca9e026df106df7c3b9680a655c /drivers | |
| parent | bb35d28701a3fac735c2dc891643086b80abfab3 (diff) | |
led: remove support for green status led in legacy API
The last user of it was removed in a previous commit so let's remove its
support entirely.
Signed-off-by: Quentin Schulz <[email protected]>
Reviewed-by: Heiko Schocher <[email protected]>
Diffstat (limited to 'drivers')
| -rw-r--r-- | drivers/led/Kconfig | 14 | ||||
| -rw-r--r-- | drivers/misc/gpio_led.c | 12 |
2 files changed, 0 insertions, 26 deletions
diff --git a/drivers/led/Kconfig b/drivers/led/Kconfig index 1077792efb0..6b043f9a522 100644 --- a/drivers/led/Kconfig +++ b/drivers/led/Kconfig @@ -414,20 +414,6 @@ config LED_STATUS_RED endif # LED_STATUS_RED_ENABLE -config LED_STATUS_GREEN_ENABLE - bool "Enable green LED" - help - Enable green status LED. - -if LED_STATUS_GREEN_ENABLE - -config LED_STATUS_GREEN - int "Green LED identification" - help - Valid enabled LED device number (0-5). - -endif # LED_STATUS_GREEN_ENABLE - config LED_STATUS_CMD bool "Enable status LED commands" diff --git a/drivers/misc/gpio_led.c b/drivers/misc/gpio_led.c index e806b1f241f..a1432a53440 100644 --- a/drivers/misc/gpio_led.c +++ b/drivers/misc/gpio_led.c @@ -67,16 +67,4 @@ void red_led_off(void) } #endif -#ifdef CONFIG_LED_STATUS_GREEN -void green_led_on(void) -{ - __led_set(CONFIG_LED_STATUS_GREEN, CONFIG_LED_STATUS_ON); -} - -void green_led_off(void) -{ - __led_set(CONFIG_LED_STATUS_GREEN, CONFIG_LED_STATUS_OFF); -} -#endif - #endif /* CONFIG_GPIO_LED_STUBS */ |
