Skip to content

Commit

Permalink
realtek: Drop redundant LED labels
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
svanheule committed Feb 28, 2025
1 parent 13a5e02 commit 04ecccf
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
2 changes: 0 additions & 2 deletions target/linux/realtek/dts/rtl8380_netgear_gs310tp-v1.dts
Original file line number Diff line number Diff line change
Expand Up @@ -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>;
Expand Down
1 change: 0 additions & 1 deletion target/linux/realtek/dts/rtl8393_hpe_1920.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -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>;
Expand Down

0 comments on commit 04ecccf

Please sign in to comment.