Re: [PATCH v2] gpio: add gpio_add_lookup_tables() to add several tables at once

From: Linus Walleij
Date: Wed Aug 23 2017 - 03:17:51 EST


On Tue, Aug 15, 2017 at 6:59 AM, Dmitry Torokhov
<dmitry.torokhov@xxxxxxxxx> wrote:

> When converting legacy board to use gpiod API() there might be several
> lookup tables in board file, let's provide a way to register them all at
> once.
>
> Reviewed-by: Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx>
> Reviewed-by: Mika Westerberg <mika.westerberg@xxxxxxxxxxxxxxx>
> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@xxxxxxxxx>
> ---
>
> V2:
> - added the !CONFIG_GPIOLIB stub (Andy)
> - changed size from unsigned int to size_t at Mika's suggestion
> - added Reviewed-bys.

Patch applied!

Usually I don't like adding APIs with no users, but you have
a good track record so I believe you are going to put this to
good use in coming merge windows.

Yours,
Linus Walleij