From 04ecccf3e93badb4304a0c4caf843869e1e8e551 Mon Sep 17 00:00:00 2001 From: Sander Vanheule Date: Fri, 28 Feb 2025 16:29:20 +0100 Subject: [PATCH] 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 --- target/linux/realtek/dts/rtl8380_netgear_gs310tp-v1.dts | 2 -- target/linux/realtek/dts/rtl8393_hpe_1920.dtsi | 1 - 2 files changed, 3 deletions(-) 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>; -- 2.30.2