]> git.karo-electronics.de Git - linux-beck.git/commit
staging:iio:ad7780: Switch to the gpio descriptor interface
authorDragos Bogdan <dragos.bogdan@analog.com>
Wed, 18 Nov 2015 10:35:34 +0000 (12:35 +0200)
committerJonathan Cameron <jic23@kernel.org>
Wed, 18 Nov 2015 18:58:29 +0000 (18:58 +0000)
commit52555a5d1058eec96c6bac2928bc965b0077c60e
tree2adcc2aa926b4d3dad747eeca3fa5ae0c000d1a0
parent7d173f26353df0e90ea1223b80f6834845f27435
staging:iio:ad7780: Switch to the gpio descriptor interface

Use the gpiod interface for the powerdown_gpio instead of the deprecated
old non-descriptor interface.

The powerdown pin can be tied high, so the gpio is optional.
Remove the gpio_pdrst platform_data member since the new interface is
used.

Signed-off-by: Dragos Bogdan <dragos.bogdan@analog.com>
Acked-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/staging/iio/adc/ad7780.c
drivers/staging/iio/adc/ad7780.h