]> 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>
Thu, 23 May 2013 18:23:22 +0000 (11:23 -0700)
commit2241c71ace724fffc56179f286a45050e0dd99df
tree318cb1b4f212eb72a03db6048438b48e32027685
parent101b82f56d50a445bb5281f834c86e106732070f
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