[openwrt/openwrt] realtek: Drop redundant LED labels
LEDE Commits
lede-commits at lists.infradead.org
Fri Feb 28 07:41:26 PST 2025
svanheule pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/04ecccf3e93badb4304a0c4caf843869e1e8e551
commit 04ecccf3e93badb4304a0c4caf843869e1e8e551
Author: Sander Vanheule <sander at svanheule.net>
AuthorDate: Fri Feb 28 16:29:20 2025 +0100
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 at svanheule.net>
---
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 = <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>;
More information about the lede-commits
mailing list