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

2018-10-22 Thread Nishad Kamdar
On Sun, Oct 21, 2018 at 10:31:38AM +0200, Slawomir Stepien wrote: > On paź 21, 2018 11:49, Nishad Kamdar wrote: > > Use the gpiod interface instead of the deprecated old non-descriptor > > interface. > > Hi! > > See my comments below. > > > Signed-off-by: Nishad Kamdar > > --- > > drivers/stag

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

2018-10-21 Thread Slawomir Stepien
On paź 21, 2018 10:31, Slawomir Stepien wrote: > On paź 21, 2018 11:49, Nishad Kamdar wrote: > > -static int ad2s1210_setup_gpios(struct ad2s1210_state *st) > > +static int ad2s1210_setup_gpios(struct spi_device *spi, > > + struct ad2s1210_state *st) > > This change is no

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

2018-10-21 Thread Slawomir Stepien
On paź 21, 2018 11:49, Nishad Kamdar wrote: > Use the gpiod interface instead of the deprecated old non-descriptor > interface. Hi! See my comments below. > Signed-off-by: Nishad Kamdar > --- > drivers/staging/iio/resolver/ad2s1210.c | 110 +++- > drivers/staging/iio/resolv

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

2018-10-20 Thread Nishad Kamdar
Use the gpiod interface instead of the deprecated old non-descriptor interface. Signed-off-by: Nishad Kamdar --- drivers/staging/iio/resolver/ad2s1210.c | 110 +++- drivers/staging/iio/resolver/ad2s1210.h | 3 - 2 files changed, 71 insertions(+), 42 deletions(-) diff --git