commit | 52555a5d1058eec96c6bac2928bc965b0077c60e | [log] [tgz] |
---|---|---|
author | Dragos Bogdan <dragos.bogdan@analog.com> | Wed Nov 18 12:35:34 2015 +0200 |
committer | Jonathan Cameron <jic23@kernel.org> | Wed Nov 18 18:58:29 2015 +0000 |
tree | 2adcc2aa926b4d3dad747eeca3fa5ae0c000d1a0 | |
parent | 7d173f26353df0e90ea1223b80f6834845f27435 [diff] |
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>