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

Lars-Peter Clausen lars at metafoo.de
Wed Oct 17 14:49:42 UTC 2018


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 at gmail.com>

Acked-by: Lars-Peter Clausen <lars at metafoo.de>

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(-)
> 


More information about the devel mailing list