]> rtime.felk.cvut.cz Git - linux-imx.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, 20 Jun 2013 23:21:31 +0000 (16:21 -0700)
commit7542a04b1515f0f878b267beb233c4ef067243fb
treef5516bc2113773391893cbbd2b309feb45829f18
parent7d132055814ef17a6c7b69f342244c410a5e000f
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