Skip to contentSkip to conversation

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

PATCH New Emilio López 2 participants 2 messages Jul 23, 2013 – Jul 24, 2013

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

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

Quoting from Documentation/leds/leds-class.txt:

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

Is currently of the form:

"devicename:colour:function"

---
 arch/arm/boot/dts/sun4i-a10-cubieboard.dts | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
arch/arm/boot/dts/sun4i-a10-cubieboard.dts +2 -2
index 757c4cd..4580b62 100644
@@ -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";
 		};
Signature · 1 line
1.8.3.3
#1 lore raw

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

Quoted 10 lines · Emilio L?pez

Quoting from Documentation/leds/leds-class.txt:

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

Is currently of the form:

"devicename:colour:function"

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

Thanks!
Maxime

Signature · 10 lines
Maxime Ripard, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20130724/665711c3/attachment.sig>