Procházet zdrojové kódy

kirkwood: drop redundant label with new LED color/function format

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 <[email protected]>
Christian Marangi před 1 rokem
rodič
revize
959db199c9

+ 0 - 3
target/linux/kirkwood/files/arch/arm/boot/dts/kirkwood-ix4-200d.dts

@@ -112,21 +112,18 @@
 			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>;