leds: lp55xx: handle enable pin in driver
authorSebastian Reichel <sre@debian.org>
Tue, 22 Oct 2013 18:02:56 +0000 (11:02 -0700)
committerBryan Wu <cooloney@gmail.com>
Fri, 25 Oct 2013 17:13:25 +0000 (10:13 -0700)
commit30dae2f98612d7c8cd855861b9de205ebd9ef4fa
treeb1932be08b325d8bae0df489d9d78b2f433841f4
parentb0bb83df0a004ff6ef9b1a11784361c9eb63dbf9
leds: lp55xx: handle enable pin in driver

This patch moves the handling of the chip's enable pin from the board
code into the driver. It also updates all board-code files using the
driver to incorporate this change.

This is needed for device tree support of the enable pin.

Signed-off-by: Sebastian Reichel <sre@debian.org>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Acked-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Bryan Wu <cooloney@gmail.com>
Documentation/devicetree/bindings/leds/leds-lp55xx.txt
arch/arm/mach-omap2/board-rx51-peripherals.c
arch/arm/mach-ux500/board-mop500.c
drivers/leds/leds-lp55xx-common.c
include/linux/platform_data/leds-lp55xx.h