diff mbox

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

Message ID 1374542341-3429-1-git-send-email-emilio@elopez.com.ar (mailing list archive)
State New, archived
Headers show

Commit Message

Emilio López July 23, 2013, 1:19 a.m. UTC
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(-)

Comments

Maxime Ripard July 24, 2013, 7:06 a.m. UTC | #1
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
diff mbox

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";
 		};