power: supply: bq25890: Use gpiod_get()
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 20 Feb 2017 17:12:23 +0000 (19:12 +0200)
committerSebastian Reichel <sre@kernel.org>
Thu, 13 Apr 2017 23:41:34 +0000 (01:41 +0200)
commit867758793a765b568a28b4973321875752c662bf
tree2278eccc898a1f7c170524d0cdc446742fd84500
parentcbe5c2878955a1d4fd11c04203002bcf60e7d7d7
power: supply: bq25890: Use gpiod_get()

Since index is always 0, replace gpiod_get_index() by gpiod_get().

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Sebastian Reichel <sre@kernel.org>
drivers/power/supply/bq25890_charger.c