Re: [PATCH v7 1/3] staging: iio: ad2s1210: Switch to the gpio descriptor interface

2018-11-03 Thread Jonathan Cameron
On Sat, 3 Nov 2018 12:45:09 + Jonathan Cameron wrote: > On Wed, 31 Oct 2018 21:28:52 +0530 > Nishad Kamdar wrote: > > > Use the gpiod interface instead of the deprecated old non-descriptor > > interface. > > > > Signed-off-by: Nishad Kamdar > It would have been less 'noisy' to do these

Re: [PATCH v7 1/3] staging: iio: ad2s1210: Switch to the gpio descriptor interface

2018-11-03 Thread Jonathan Cameron
On Wed, 31 Oct 2018 21:28:52 +0530 Nishad Kamdar wrote: > Use the gpiod interface instead of the deprecated old non-descriptor > interface. > > Signed-off-by: Nishad Kamdar It would have been less 'noisy' to do these in the reverse order (drop the flag and support first, then do the gpiod conve

[PATCH v7 1/3] staging: iio: ad2s1210: Switch to the gpio descriptor interface

2018-10-31 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 | 106 ++-- drivers/staging/iio/resolver/ad2s1210.h | 3 - 2 files changed, 62 insertions(+), 47 deletions(-) diff --git