Re: [PATCH v5] mtd: rawnand: ams-delta: use GPIO lookup table

From: Miquel Raynal
Date: Sun Sep 23 2018 - 07:41:59 EST


Hi Janusz,

Janusz Krzysztofik <jmkrzyszt@xxxxxxxxx> wrote on Thu, 20 Sep 2018
00:17:29 +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>

Applied on nand/next.

Thanks,
MiquÃl