diff options
author | Adrian Schmutzler <freifunk@adrianschmutzler.de> | 2020-10-10 19:44:02 +0200 |
---|---|---|
committer | Adrian Schmutzler <freifunk@adrianschmutzler.de> | 2020-10-10 19:44:02 +0200 |
commit | 55aac8463f182567c4a716f878206b30e4681d0a (patch) | |
tree | bed21d7644d9e06de75b37bcb38d9f0184601324 /target/linux/bcm63xx/dts/bcm6338-brcm-bcm96338w.dts | |
parent | 5423d9d27e9e4eb829e9aabd4f2a334b5547d705 (diff) | |
download | upstream-55aac8463f182567c4a716f878206b30e4681d0a.tar.gz upstream-55aac8463f182567c4a716f878206b30e4681d0a.tar.bz2 upstream-55aac8463f182567c4a716f878206b30e4681d0a.zip |
bcm63xx: remove model name from LED labels
Like in the previous patches for various targets, this will remove
the "devicename" from LED labels in bcm63xx, as it's useless and
only creates complexity.
The devicename is removed in DTS files and 01_leds, merging
several cases on the way. A migration script is added for
existing configurations.
Note that a few labels were using "model::function" scheme without
color specified, those were converting to just "function" and the
necessary migrations were added to the migration script.
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
Diffstat (limited to 'target/linux/bcm63xx/dts/bcm6338-brcm-bcm96338w.dts')
-rw-r--r-- | target/linux/bcm63xx/dts/bcm6338-brcm-bcm96338w.dts | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/target/linux/bcm63xx/dts/bcm6338-brcm-bcm96338w.dts b/target/linux/bcm63xx/dts/bcm6338-brcm-bcm96338w.dts index e5aa4e67f4..28cf9e95af 100644 --- a/target/linux/bcm63xx/dts/bcm6338-brcm-bcm96338w.dts +++ b/target/linux/bcm63xx/dts/bcm6338-brcm-bcm96338w.dts @@ -17,24 +17,24 @@ compatible = "gpio-leds"; power_green { - label = "96338W:green:power"; + label = "green:power"; gpios = <&gpio0 0 1>; default-state = "on"; }; stop_green { - label = "96338W:green:stop"; + label = "green:stop"; gpios = <&gpio0 1 1>; }; dsl_green { - label = "96338W:green:adsl"; + label = "green:adsl"; gpios = <&gpio0 3 1>; }; ppp_fail_green { - label = "96338W:green:ppp-fail"; + label = "green:ppp-fail"; gpios = <&gpio0 4 1>; }; ses_green { - label = "96338W:green:ses"; + label = "green:ses"; gpios = <&gpio0 5 1>; }; }; |