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

2018-07-19 Thread Tony Lindgren
* Miquel Raynal [180718 07:24]: > Hi Janusz, Tony > > Janusz Krzysztofik 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 re

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

2018-07-18 Thread Janusz Krzysztofik
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

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

2018-07-18 Thread Miquel Raynal
Hi Janusz, Tony Janusz Krzysztofik 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 f