]> git.karo-electronics.de Git - karo-tx-linux.git/commit
leds: lp55xx: add support for Device Tree bindings
authorLinus Walleij <linus.walleij@linaro.org>
Tue, 23 Apr 2013 11:52:59 +0000 (04:52 -0700)
committerBryan Wu <cooloney@gmail.com>
Fri, 31 May 2013 17:22:51 +0000 (10:22 -0700)
commit4c3513cae85085a5a03d459777beb8f9323900ab
treee2955fb0935709c6f0585d090cb24f2618cb5e35
parenta93cb29acaa8f75618c3f202d1cf43c231984644
leds: lp55xx: add support for Device Tree bindings

This patch allows the lp5521 driver to be successfully probed and
initialised when Device Tree support is enabled.

Based on a patch by Gabriel Fernandez, rewritten in accordance
with review feedback.

Cc: Gabriel Fernandez <gabriel.fernandez@stericsson.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Acked-by: Milo Kim <milo.kim@ti.com>
Signed-off-by: Bryan Wu <cooloney@gmail.com>
Documentation/devicetree/bindings/leds/leds-lp55xx.txt [new file with mode: 0644]
drivers/leds/leds-lp5521.c
drivers/leds/leds-lp5523.c
drivers/leds/leds-lp55xx-common.c
drivers/leds/leds-lp55xx-common.h