Re: [PATCH v3] staging: iio: ad2s1210: Switch to the gpio descriptor interface

2018-10-24 Thread Nishad Kamdar
On Wed, Oct 24, 2018 at 08:52:49AM +0200, Slawomir Stepien wrote: > On paź 24, 2018 00:34, Nishad Kamdar wrote: > > Use the gpiod interface instead of the deprecated old non-descriptor > > interface. > > Hi Nishad > > Few more comments from me below. > > > Signed-off-by: Nishad Kamdar > > --- >

Re: [PATCH v3] staging: iio: ad2s1210: Switch to the gpio descriptor interface

2018-10-23 Thread Slawomir Stepien
On paź 24, 2018 00:34, Nishad Kamdar wrote: > Use the gpiod interface instead of the deprecated old non-descriptor > interface. Hi Nishad Few more comments from me below. > Signed-off-by: Nishad Kamdar > --- > Changes in v3: > - Use a pointer to pointer for gpio_desc in >struct ad2s1210_gp

[PATCH v3] staging: iio: ad2s1210: Switch to the gpio descriptor interface

2018-10-23 Thread Nishad Kamdar
Use the gpiod interface instead of the deprecated old non-descriptor interface. Signed-off-by: Nishad Kamdar --- Changes in v3: - Use a pointer to pointer for gpio_desc in struct ad2s1210_gpio as it will be used to modify a pointer. - Use dot notation to initialize the structure. - Use a