]> git.karo-electronics.de Git - linux-beck.git/commitdiff
ARM: sunxi: make the leds' names conform to the current naming convention
authorEmilio López <emilio@elopez.com.ar>
Tue, 23 Jul 2013 01:19:01 +0000 (22:19 -0300)
committerMaxime Ripard <maxime.ripard@free-electrons.com>
Wed, 24 Jul 2013 07:06:57 +0000 (09:06 +0200)
Quoting from Documentation/leds/leds-class.txt:

    LED Device Naming
    =================

    Is currently of the form:

    "devicename:colour:function"

Signed-off-by: Emilio López <emilio@elopez.com.ar>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
arch/arm/boot/dts/sun4i-a10-cubieboard.dts

index 757c4cd900ee92e03fc5a85dad98866d56c3d83c..4580b62b43ff1745d3de445b7ef5162481343bc7 100644 (file)
                pinctrl-0 = <&led_pins_cubieboard>;
 
                blue {
-                       label = "cubieboard::blue";
+                       label = "cubieboard:blue:usr";
                        gpios = <&pio 7 21 0>; /* LED1 */
                };
 
                green {
-                       label = "cubieboard::green";
+                       label = "cubieboard:green:usr";
                        gpios = <&pio 7 20 0>; /* LED2 */
                        linux,default-trigger = "heartbeat";
                };