aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux
diff options
context:
space:
mode:
authorAdrian Schmutzler <freifunk@adrianschmutzler.de>2020-10-15 17:54:31 +0200
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>2020-10-15 17:54:31 +0200
commitdec4a028ab6bdc0235ecda26ac9ad7072caf6b09 (patch)
tree84e7c3248f98d9a1303c094b55c65ea8c8ec42b1 /target/linux
parenta49c1aa883359940e6a4e78e7f600837abca7741 (diff)
downloadupstream-dec4a028ab6bdc0235ecda26ac9ad7072caf6b09.tar.gz
upstream-dec4a028ab6bdc0235ecda26ac9ad7072caf6b09.tar.bz2
upstream-dec4a028ab6bdc0235ecda26ac9ad7072caf6b09.zip
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>
Diffstat (limited to 'target/linux')
-rwxr-xr-xtarget/linux/rtl838x/base-files/etc/board.d/01_leds1
-rw-r--r--target/linux/rtl838x/dts/rtl8382_allnet_all-sg8208m.dts2
-rw-r--r--target/linux/rtl838x/dts/rtl8382_d-link_dgs-1210-16.dts2
3 files changed, 2 insertions, 3 deletions
diff --git a/target/linux/rtl838x/base-files/etc/board.d/01_leds b/target/linux/rtl838x/base-files/etc/board.d/01_leds
index 7991b832f64..699ab817dde 100755
--- a/target/linux/rtl838x/base-files/etc/board.d/01_leds
+++ b/target/linux/rtl838x/base-files/etc/board.d/01_leds
@@ -3,7 +3,6 @@
. /lib/functions/uci-defaults.sh
board=$(board_name)
-boardname="${board##*,}"
board_config_update
diff --git a/target/linux/rtl838x/dts/rtl8382_allnet_all-sg8208m.dts b/target/linux/rtl838x/dts/rtl8382_allnet_all-sg8208m.dts
index 00be58faca7..5433b7f3728 100644
--- a/target/linux/rtl838x/dts/rtl8382_allnet_all-sg8208m.dts
+++ b/target/linux/rtl838x/dts/rtl8382_allnet_all-sg8208m.dts
@@ -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
diff --git a/target/linux/rtl838x/dts/rtl8382_d-link_dgs-1210-16.dts b/target/linux/rtl838x/dts/rtl8382_d-link_dgs-1210-16.dts
index f1eee78b601..2d7abc00db1 100644
--- a/target/linux/rtl838x/dts/rtl8382_d-link_dgs-1210-16.dts
+++ b/target/linux/rtl838x/dts/rtl8382_d-link_dgs-1210-16.dts
@@ -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>;
};
};