Re: [PATCH v4 05/12] staging: iio: ad2s1200: Replace legacy gpio API with modern API

2018-05-20 Thread Jonathan Cameron
On Fri, 18 May 2018 20:21:56 +0200 David Veenstra wrote: > The legacy, integer based gpio API is replaced with the modern > descriptor based API. > > Signed-off-by: David Veenstra Hmm This is more complex than it needed to be because it has to do some massaging of the two different methods only

[PATCH v4 05/12] staging: iio: ad2s1200: Replace legacy gpio API with modern API

2018-05-18 Thread David Veenstra
The legacy, integer based gpio API is replaced with the modern descriptor based API. Signed-off-by: David Veenstra --- drivers/staging/iio/resolver/ad2s1200.c | 15 --- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/drivers/staging/iio/resolver/ad2s1200.c b/drivers/st