On Wed, Sep 19, 2018 at 3:17 PM Janusz Krzysztofik <jmkrzyszt@xxxxxxxxx> wrote: > 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> > --- > Changelog: > v5: > - rebased on nand/next > - resubmitted to linux-mtd as a stand-alone patch Reviewed-by: Linus Walleij <linus.walleij@xxxxxxxxxx> Yours, Linus Walleij