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

From: Lars-Peter Clausen
Date: Wed Oct 17 2018 - 10:49:56 EST


On 10/17/2018 04:47 PM, Nishad Kamdar wrote:
> Use the gpiod interface for rdwr_pin, convert_pin and busy_pin
> instead of the deprecated old non-descriptor interface.
>
> Signed-off-by: Nishad Kamdar <nishadkamdar@xxxxxxxxx>

Acked-by: Lars-Peter Clausen <lars@xxxxxxxxxx>

Thanks.

> ---
> Changes in v2:
> - Correct the error messages as pin number being showed
> has now been replaced by error code.
> ---
> drivers/staging/iio/adc/ad7816.c | 80 ++++++++++++++------------------
> 1 file changed, 34 insertions(+), 46 deletions(-)
>