[PATCH 1/2] leds: lp55xx: handle enable pin in driver

Linus Walleij linus.walleij at linaro.org
Tue Oct 22 12:57:29 EDT 2013


On Tue, Oct 22, 2013 at 3:01 PM, Sebastian Reichel <sre at debian.org> wrote:

> 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 at debian.org>

Looks good to me.

Acked-by: Linus Walleij <linus.walleij at linaro.org>

BTW: should we disable the GPIO when remove()ing the module?
This is a topic of another patch but...

Yours,
Linus Walleij



More information about the linux-arm-kernel mailing list