summaryrefslogtreecommitdiff
path: root/drivers/misc
diff options
context:
space:
mode:
authorQuentin Schulz <[email protected]>2025-11-19 17:43:46 +0100
committerTom Rini <[email protected]>2025-12-05 10:34:52 -0600
commitc31f51d502af4d9897d4d9e4d0048912f0deff6f (patch)
tree3f14c8cf47048a782c4375f4b18ff9f8c435c2d2 /drivers/misc
parentabc34fa944aefca393ca30ffc05cb608c3cb7ade (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/misc')
-rw-r--r--drivers/misc/gpio_led.c24
1 files changed, 0 insertions, 24 deletions
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 */