diff options
| author | Sander Vanheule | 2025-02-28 15:29:20 +0000 |
|---|---|---|
| committer | Sander Vanheule | 2025-02-28 15:30:29 +0000 |
| commit | 04ecccf3e93badb4304a0c4caf843869e1e8e551 (patch) | |
| tree | 8377a1b1cb0fdacdcca944fcc53fe55c12448639 | |
| parent | 13a5e02e28d2fb93de6d6ea275e836e08f851752 (diff) | |
| download | openwrt-04ecccf3e93badb4304a0c4caf843869e1e8e551.tar.gz | |
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 <sander@svanheule.net>
| -rw-r--r-- | target/linux/realtek/dts/rtl8380_netgear_gs310tp-v1.dts | 2 | ||||
| -rw-r--r-- | target/linux/realtek/dts/rtl8393_hpe_1920.dtsi | 1 |
2 files changed, 0 insertions, 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 = <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>; 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 = <LED_COLOR_ID_GREEN>; function = LED_FUNCTION_POWER; gpios = <&gpio0 9 GPIO_ACTIVE_HIGH>; |