Re: [PATCH v2 2/3 v4] mtd: rawnand: ams-delta: use GPIO lookup table

From: Miquel Raynal
Date: Wed Jul 18 2018 - 03:20:56 EST


Hi Janusz, Tony

Janusz Krzysztofik <jmkrzyszt@xxxxxxxxx> wrote on Wed, 18 Jul 2018
01:14:47 +0200:

> Now as Amstrad Delta board - the only user of this driver - provides
> GPIO lookup tables, switch from GPIO numbers to GPIO descriptors and
> use the table to locate required GPIO pins.
>
> Declare static variables for storing GPIO descriptors and replace
> gpio_ function calls with their gpiod_ equivalents.
>
> Pin naming used by the driver should be followed while respective GPIO
> lookup table is initialized by a board init code.
>
> Signed-off-by: Janusz Krzysztofik <jmkrzyszt@xxxxxxxxx>
> Acked-by: Boris Brezillon <boris.brezillon@xxxxxxxxxxx>
> ---

Acked-by: Miquel Raynal <miquel.raynal@xxxxxxxxxxx>

As suggested by Boris, we expect this series to go through the OMAP
tree so we'll need an immutable tag, there are more changes on this
driver coming in.

Thanks!
MiquÃl