]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita18fba28b6f683bbd96eb24d3862a1b3cd553916
tree2278eccc898a1f7c170524d0cdc446742fd84500
parent8a7141fd59baa666cdfc62bbc83a33122a06eabe
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