extcon: int3496: Use gpiod_get instead of gpiod_get_index
authorHans de Goede <hdegoede@redhat.com>
Fri, 10 Mar 2017 20:52:08 +0000 (21:52 +0100)
committerChanwoo Choi <cw00.choi@samsung.com>
Wed, 22 Mar 2017 09:29:47 +0000 (18:29 +0900)
commit408c5b41d215b317ab58c98b959454407ee4a53d
treeb8b216946741781fa1b3157c2a3c11763e993b6b
parent059c7874b87575e48d2c7702849ff56017059195
extcon: int3496: Use gpiod_get instead of gpiod_get_index

Now that we've an acpi mapping table we should be using gpiod_get
instead of gpiod_get_index.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
drivers/extcon/extcon-intel-int3496.c