Patchwork ARM: sunxi: make the leds' names conform to the current naming convention

login
register
mail settings
Submitter Emilio López
Date July 23, 2013, 1:19 a.m.
Message ID <1374542341-3429-1-git-send-email-emilio@elopez.com.ar>
Download mbox | patch
Permalink /patch/260908/
State New
Headers show

Comments

Emilio López - July 23, 2013, 1:19 a.m.
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>
---
 arch/arm/boot/dts/sun4i-a10-cubieboard.dts | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
Maxime Ripard - July 24, 2013, 7:06 a.m.
On Mon, Jul 22, 2013 at 10:19:01PM -0300, Emilio López wrote:
> 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>

Applied to my sunxi/dt-for-3.12 branch.

Thanks!
Maxime

Patch

diff --git a/arch/arm/boot/dts/sun4i-a10-cubieboard.dts b/arch/arm/boot/dts/sun4i-a10-cubieboard.dts
index 757c4cd..4580b62 100644
--- a/arch/arm/boot/dts/sun4i-a10-cubieboard.dts
+++ b/arch/arm/boot/dts/sun4i-a10-cubieboard.dts
@@ -76,12 +76,12 @@ 
 		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";
 		};