From: Sander Vanheule Date: Fri, 28 Feb 2025 15:29:20 +0000 (+0100) Subject: realtek: Drop redundant LED labels X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=04ecccf3e93badb4304a0c4caf843869e1e8e551;p=openwrt%2Fstaging%2Fnbd.git realtek: Drop redundant LED labels 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 --- diff --git a/target/linux/realtek/dts/rtl8380_netgear_gs310tp-v1.dts b/target/linux/realtek/dts/rtl8380_netgear_gs310tp-v1.dts index 6108462c67..7974e42359 100644 --- a/target/linux/realtek/dts/rtl8380_netgear_gs310tp-v1.dts +++ b/target/linux/realtek/dts/rtl8380_netgear_gs310tp-v1.dts @@ -19,14 +19,12 @@ compatible = "gpio-leds"; led_power_amber: led-0 { - label = "amber:power"; color = ; function = LED_FUNCTION_POWER; gpios = <&gpio1 32 GPIO_ACTIVE_LOW>; }; led_power_green: led-1 { - label = "green:power"; color = ; function = LED_FUNCTION_POWER; gpios = <&gpio1 31 GPIO_ACTIVE_LOW>; diff --git a/target/linux/realtek/dts/rtl8393_hpe_1920.dtsi b/target/linux/realtek/dts/rtl8393_hpe_1920.dtsi index dda29e59e1..8af34be9a8 100644 --- a/target/linux/realtek/dts/rtl8393_hpe_1920.dtsi +++ b/target/linux/realtek/dts/rtl8393_hpe_1920.dtsi @@ -17,7 +17,6 @@ compatible = "gpio-leds"; led_power: led-0 { - label = "green:power"; color = ; function = LED_FUNCTION_POWER; gpios = <&gpio0 9 GPIO_ACTIVE_HIGH>;