From 55aac8463f182567c4a716f878206b30e4681d0a Mon Sep 17 00:00:00 2001 From: Adrian Schmutzler Date: Sat, 10 Oct 2020 19:44:02 +0200 Subject: 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 --- target/linux/bcm63xx/dts/bcm63168-comtrend-vr-3032u.dts | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'target/linux/bcm63xx/dts/bcm63168-comtrend-vr-3032u.dts') diff --git a/target/linux/bcm63xx/dts/bcm63168-comtrend-vr-3032u.dts b/target/linux/bcm63xx/dts/bcm63168-comtrend-vr-3032u.dts index 30a7757018..44daf477d3 100644 --- a/target/linux/bcm63xx/dts/bcm63168-comtrend-vr-3032u.dts +++ b/target/linux/bcm63xx/dts/bcm63168-comtrend-vr-3032u.dts @@ -70,31 +70,31 @@ led@2 { reg = <2>; active-low; - label = "vr-3032u:red:inet"; + label = "red:inet"; }; led@3 { reg = <3>; active-low; - label = "vr-3032u:green:dsl"; + label = "green:dsl"; }; led@4 { reg = <4>; active-low; - label = "vr-3032u:green:usb"; + label = "green:usb"; }; led@7 { reg = <7>; active-low; - label = "vr-3032u:green:wps"; + label = "green:wps"; }; led@8 { reg = <8>; active-low; - label = "vr-3032u:green:inet"; + label = "green:inet"; }; led@9 { @@ -142,7 +142,7 @@ led_power_green: led@20 { reg = <20>; active-low; - label = "vr-3032u:green:power"; + label = "green:power"; default-state = "on"; }; }; -- cgit v1.2.3