realtek: Drop redundant LED labels
authorSander Vanheule <sander@svanheule.net>
Fri, 28 Feb 2025 15:29:20 +0000 (16:29 +0100)
committerSander Vanheule <sander@svanheule.net>
Fri, 28 Feb 2025 15:30:29 +0000 (16:30 +0100)
Some devices have both the color/function and label property defined.
The label can be constructed from the former properties, making it
redundant.

Signed-off-by: Sander Vanheule <sander@svanheule.net>
target/linux/realtek/dts/rtl8380_netgear_gs310tp-v1.dts
target/linux/realtek/dts/rtl8393_hpe_1920.dtsi

index 6108462c67ca117ce71004a25e635048c7f6ea78..7974e423594973b75b5d20678f4863532567aed1 100644 (file)
                compatible = "gpio-leds";
 
                led_power_amber: led-0 {
-                       label = "amber:power";
                        color = <LED_COLOR_ID_AMBER>;
                        function = LED_FUNCTION_POWER;
                        gpios = <&gpio1 32 GPIO_ACTIVE_LOW>;
                };
 
                led_power_green: led-1 {
-                       label = "green:power";
                        color = <LED_COLOR_ID_GREEN>;
                        function = LED_FUNCTION_POWER;
                        gpios = <&gpio1 31 GPIO_ACTIVE_LOW>;
index dda29e59e13b478dc57961e07751aadcb647d29f..8af34be9a818bc03ea9e474f127c7d732ae15a70 100644 (file)
@@ -17,7 +17,6 @@
                compatible = "gpio-leds";
 
                led_power: led-0 {
-                       label = "green:power";
                        color = <LED_COLOR_ID_GREEN>;
                        function = LED_FUNCTION_POWER;
                        gpios = <&gpio0 9 GPIO_ACTIVE_HIGH>;