commit | c306dbd88c3d1a9f41c81d38e8f756d25958d575 | [log] [tgz] |
---|---|---|
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | Sat Jun 10 22:08:21 2017 +0300 |
committer | Jonathan Cameron <jic23@kernel.org> | Sun Jun 11 15:07:34 2017 +0100 |
tree | 08986f818dc8ca5e7b71ef5881481a6661e64b9b | |
parent | 7af1a06776da9e943126c2dd740a18710ecd66df [diff] |
iio: proximity: sx9500: Use devm_gpiod_get() Since index is always 0 replace devm_gpiod_get_index() by devm_gpiod_get(). Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Signed-off-by: Jonathan Cameron <jic23@kernel.org>