leds: syscon: handle multiple syscon instances
authorLinus Walleij <linus.walleij@linaro.org>
Fri, 24 Oct 2014 10:57:19 +0000 (03:57 -0700)
committerBryan Wu <cooloney@gmail.com>
Fri, 14 Nov 2014 22:29:35 +0000 (14:29 -0800)
commit3f6e42c808409c40dd0d0f8fe2022d197b27455e
tree635468ea8107231f6406bd24a0cf31961f70cedc
parent37fa70f026474db98fc395a45eda2bbceb210c74
leds: syscon: handle multiple syscon instances

Currently the syscon LED driver will only handle LEDs on the
first syscon found in the system. But there can be several of
them, so augment the driver to traverse all syscon nodes and
check for syscon LEDs on them.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Bryan Wu <cooloney@gmail.com>
drivers/leds/leds-syscon.c