kirkwood: drop redundant label with new LED color/function format
authorChristian Marangi <ansuelsmth@gmail.com>
Wed, 7 Feb 2024 13:48:38 +0000 (14:48 +0100)
committerChristian Marangi <ansuelsmth@gmail.com>
Wed, 7 Feb 2024 13:48:38 +0000 (14:48 +0100)
Drop redundant label with new LED color/function format declared.
This was needed previously when the new format wasn't supported by
leds.sh functions script. Now that is supported this property
can be removed in favor of the new format.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
target/linux/kirkwood/files/arch/arm/boot/dts/kirkwood-ix4-200d.dts

index c63742a1a8814e6b6211e9f5e94a2f751eba5494..d57e1f5d5a155e6f09bbcef90d169bb5ce7e2d6c 100644 (file)
                        compatible = "gpio-leds";
 
                        led_status_white: led-0 {
-                               label = "status:white";
                                function = LED_FUNCTION_STATUS;
                                color = <LED_COLOR_ID_WHITE>;
                                gpios = <&gpio_spi 4 GPIO_ACTIVE_LOW>;
                        };
 
                        led_status_red: led-1 {
-                               label = "status:red";
                                function = LED_FUNCTION_STATUS;
                                color = <LED_COLOR_ID_RED>;
                                gpios = <&gpio_spi 5 GPIO_ACTIVE_LOW>;
                        };
 
                        led_power_white: led-2 {
-                               label = "power:white";
                                function = LED_FUNCTION_POWER;
                                color = <LED_COLOR_ID_WHITE>;
                                gpios = <&gpio_spi 7 GPIO_ACTIVE_HIGH>;