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/mt7620a_alfa-network_tube-e4g.dts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'target/linux/ramips/dts/mt7620a_alfa-network_tube-e4g.dts') diff --git a/target/linux/ramips/dts/mt7620a_alfa-network_tube-e4g.dts b/target/linux/ramips/dts/mt7620a_alfa-network_tube-e4g.dts index 2462e13b47..42047390b0 100644 --- a/target/linux/ramips/dts/mt7620a_alfa-network_tube-e4g.dts +++ b/target/linux/ramips/dts/mt7620a_alfa-network_tube-e4g.dts @@ -69,29 +69,29 @@ compatible = "gpio-leds"; 4g { - label = "tube-e4g:green:4g"; + label = "green:4g"; gpios = <&gpio0 7 GPIO_ACTIVE_LOW>; }; lan { - label = "tube-e4g:blue:lan"; + label = "blue:lan"; gpios = <&gpio2 4 GPIO_ACTIVE_LOW>; }; power: power { - label = "tube-e4g:green:power"; + label = "green:power"; gpios = <&gpio2 0 GPIO_ACTIVE_LOW>; default-state = "keep"; }; sim1 { - label = "tube-e4g:green:sim1"; + label = "green:sim1"; gpios = <&gpio2 3 GPIO_ACTIVE_LOW>; default-state = "keep"; }; sim2 { - label = "tube-e4g:green:sim2"; + label = "green:sim2"; gpios = <&gpio2 2 GPIO_ACTIVE_LOW>; default-state = "keep"; }; -- cgit v1.2.3