staging: iio: ad2s1210: Switch to the gpio descriptor interface

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

Signed-off-by: Nishad Kamdar <nishadkamdar@gmail.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
This commit is contained in:
Nishad Kamdar 2018-10-31 21:28:52 +05:30 • committed by Jonathan Cameron
commit f356dc6ec2
2 changed files with 63 additions and 47 deletions