Re: [PATCH 2/6] Input: ams_delta_serio: use GPIO lookup table

2018-05-20 Thread Dmitry Torokhov
Hi Janusz, On Fri, May 18, 2018 at 11:09:50PM +0200, Janusz Krzysztofik wrote: > Now as the Amstrad Delta board 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

Re: [PATCH 2/6] Input: ams_delta_serio: use GPIO lookup table

2018-05-20 Thread Dmitry Torokhov
Hi Janusz, On Fri, May 18, 2018 at 11:09:50PM +0200, Janusz Krzysztofik wrote: > Now as the Amstrad Delta board 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

[PATCH 2/6] Input: ams_delta_serio: use GPIO lookup table

2018-05-18 Thread Janusz Krzysztofik
Now as the Amstrad Delta board 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_ functions with their gpiod_ equivalents. Pin naming used by the driver

[PATCH 2/6] Input: ams_delta_serio: use GPIO lookup table

2018-05-18 Thread Janusz Krzysztofik
Now as the Amstrad Delta board 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_ functions with their gpiod_ equivalents. Pin naming used by the driver