staging: iio: ad7816: Switch to the gpio descriptor interface
authorNishad Kamdar <nishadkamdar@gmail.com>
Wed, 17 Oct 2018 14:47:20 +0000 (20:17 +0530)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sun, 21 Oct 2018 14:51:56 +0000 (15:51 +0100)
commit073a391ca0352d4c66b6ffc4ff5db18a457f5519
tree74d6e855788fc9206c5cb99f6b44eaad85efb64f
parentd42282db6c41cd1896090c3bc95fc9cfd7268189
staging: iio: ad7816: Switch to the gpio descriptor interface

Use the gpiod interface for rdwr_pin, convert_pin and busy_pin
instead of the deprecated old non-descriptor interface.

Note that Phil Reid identified that some of this code would never
have worked.  A follow up patch can fix that as this is just
a direct change of interface.

Signed-off-by: Nishad Kamdar <nishadkamdar@gmail.com>
Acked-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/staging/iio/adc/ad7816.c