summaryrefslogtreecommitdiff
path: root/drivers/misc
diff options
context:
space:
mode:
authorQuentin Schulz <[email protected]>2025-11-19 18:01:13 +0100
committerTom Rini <[email protected]>2025-12-05 13:38:09 -0600
commit16415e9563ec04241c58f0a85cd2fc1d89f3033e (patch)
tree0d9a1cd594c14ca9e026df106df7c3b9680a655c /drivers/misc
parentbb35d28701a3fac735c2dc891643086b80abfab3 (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/misc')
-rw-r--r--drivers/misc/gpio_led.c12
1 files changed, 0 insertions, 12 deletions
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 */