]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
ARM: dts: rockchip: add label property for leds on Radxa Rock
authorRomain Perier <romain.perier@gmail.com>
Sun, 23 Nov 2014 16:19:35 +0000 (16:19 +0000)
committerHeiko Stuebner <heiko@sntech.de>
Sun, 30 Nov 2014 23:09:45 +0000 (00:09 +0100)
commit3db5894beb21df6ee11dfcafc070f1abd4cdf27d
tree3bf04ca2e7ea5e82748b517dd9eef293ab0102a7
parentff9d0ecbbe9181b6fb575223e79c6b98c687af8d
ARM: dts: rockchip: add label property for leds on Radxa Rock

The leds-gpio driver recently switched to the device property API. The device_node
name is no longer retrieved if the "label" devicetree property is not found.
In this case the driver tries to create entries with (null) name in
/sys/class/leds, which is wrong and generates backtrace as several gpio_leds have
the same name. Also renamed subnode "yellow" to "blue" to match the last
schematics updates.

Signed-off-by: Romain Perier <romain.perier@gmail.com>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
arch/arm/boot/dts/rk3188-radxarock.dts