From c846dd91f0a6f99b529ed6e1ec4ab149466dc0d2 Mon Sep 17 00:00:00 2001 From: Adrian Schmutzler Date: Sun, 27 Sep 2020 19:40:51 +0200 Subject: ramips: remove model name from LED labels Like in the previous patch for ath79 target, this will remove the "devicename" from LED labels in ramips as well. The devicename is removed in DTS files and 01_leds, consolidation of definitions into DTSI files is done where (easily) possible, and migration scripts are updated. For the latter, all existing definitions were actually just devicename migrations anyway. Therefore, those are removed and a common migration file is created in target base-files. This is actually another example of how the devicename removal makes things easier. Signed-off-by: Adrian Schmutzler --- target/linux/ramips/dts/mt7628an_tplink_tl-wr840n-v4.dts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'target/linux/ramips/dts/mt7628an_tplink_tl-wr840n-v4.dts') diff --git a/target/linux/ramips/dts/mt7628an_tplink_tl-wr840n-v4.dts b/target/linux/ramips/dts/mt7628an_tplink_tl-wr840n-v4.dts index 81b1da7cd2..f960a0ae8f 100644 --- a/target/linux/ramips/dts/mt7628an_tplink_tl-wr840n-v4.dts +++ b/target/linux/ramips/dts/mt7628an_tplink_tl-wr840n-v4.dts @@ -25,27 +25,27 @@ compatible = "gpio-leds"; lan { - label = "tl-wr840n-v4:green:lan"; + label = "green:lan"; gpios = <&gpio 41 GPIO_ACTIVE_LOW>; }; led_power: power { - label = "tl-wr840n-v4:green:power"; + label = "green:power"; gpios = <&gpio 36 GPIO_ACTIVE_LOW>; }; wan { - label = "tl-wr840n-v4:green:wan"; + label = "green:wan"; gpios = <&gpio 43 GPIO_ACTIVE_LOW>; }; wlan { - label = "tl-wr840n-v4:green:wlan"; + label = "green:wlan"; gpios = <&gpio 44 GPIO_ACTIVE_LOW>; }; wps { - label = "tl-wr840n-v4:green:wps"; + label = "green:wps"; gpios = <&gpio 37 GPIO_ACTIVE_LOW>; }; }; -- cgit v1.2.3