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_phicomm_psg1208.dts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'target/linux/ramips/dts/mt7620a_phicomm_psg1208.dts') diff --git a/target/linux/ramips/dts/mt7620a_phicomm_psg1208.dts b/target/linux/ramips/dts/mt7620a_phicomm_psg1208.dts index aa7b5907ee..ea87d64ecc 100644 --- a/target/linux/ramips/dts/mt7620a_phicomm_psg1208.dts +++ b/target/linux/ramips/dts/mt7620a_phicomm_psg1208.dts @@ -18,12 +18,12 @@ compatible = "gpio-leds"; led_wps: wps { - label = "psg1208:white:wps"; + label = "white:wps"; gpios = <&gpio1 15 GPIO_ACTIVE_LOW>; }; wlan { - label = "psg1208:white:wlan2g"; + label = "white:wlan2g"; gpios = <&gpio3 0 GPIO_ACTIVE_LOW>; }; }; -- cgit v1.2.3