From e037597ae9987fd1aaa9ba0dec85853b0b7a5d46 Mon Sep 17 00:00:00 2001 From: Adrian Schmutzler Date: Thu, 15 Oct 2020 17:54:31 +0200 Subject: [PATCH] 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 --- target/linux/rtl838x/base-files/etc/board.d/01_leds | 1 - target/linux/rtl838x/dts/rtl8382_allnet_all-sg8208m.dts | 2 +- 2 files changed, 1 insertion(+), 2 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 7991b832f6..699ab817dd 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 fa8e5db3a7..a5dd3be0a4 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