mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-21 22:47:56 +00:00
rtl838x: remove model name from LED labels
Like in the previous patches for various targets, this removes the "devicename" from LED labels in rtl838x, as it's useless and only creates complexity. Since the target is fresh and so far only system LEDs were added, this does not add a migration script. Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
This commit is contained in:
parent
a49c1aa883
commit
dec4a028ab
@ -3,7 +3,6 @@
|
||||
. /lib/functions/uci-defaults.sh
|
||||
|
||||
board=$(board_name)
|
||||
boardname="${board##*,}"
|
||||
|
||||
board_config_update
|
||||
|
||||
|
@ -35,7 +35,7 @@
|
||||
compatible = "gpio-leds";
|
||||
|
||||
led_sys: sys {
|
||||
label = "all-sg8208m:green:sys";
|
||||
label = "green:sys";
|
||||
gpios = <&gpio0 47 GPIO_ACTIVE_HIGH>;
|
||||
};
|
||||
// GPIO 25: power on/off all port leds
|
||||
|
@ -22,7 +22,7 @@
|
||||
compatible = "gpio-leds";
|
||||
|
||||
led_power: power {
|
||||
label = "dgs-1210-16:green:power";
|
||||
label = "green:power";
|
||||
gpios = <&gpio0 24 GPIO_ACTIVE_LOW>;
|
||||
};
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user