Re: [PATCH 5/6] Input: gpio_keys - add support for GPIO descriptors

From: Linus Walleij
Date: Sat Oct 29 2016 - 04:39:55 EST


On Sat, Oct 29, 2016 at 1:14 AM, Dmitry Torokhov
<dmitry.torokhov@xxxxxxxxx> wrote:

> From: Geert Uytterhoeven <geert+renesas@xxxxxxxxx>
>
> GPIO descriptors are the preferred way over legacy GPIO numbers
> nowadays. Convert the driver to use GPIO descriptors internally but
> still allow passing legacy GPIO numbers from platform data to support
> existing platforms.
>
> Based on commits 633a21d80b4a2cd6 ("input: gpio_keys_polled: Add support
> for GPIO descriptors") and 1ae5ddb6f8837558 ("Input: gpio_keys_polled -
> request GPIO pin as input.").
>
> Signed-off-by: Geert Uytterhoeven <geert+renesas@xxxxxxxxx>
> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@xxxxxxxxx>

Reviewed-by: Linus Walleij <linus.walleij@xxxxxxxxxx>

Yours,
Linus Walleij