]> git.baikalelectronics.ru Git - kernel.git/commit
extcon: int3496: Add GPIO ACPI mapping table
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Fri, 24 Feb 2017 12:35:55 +0000 (14:35 +0200)
committerChanwoo Choi <cw00.choi@samsung.com>
Wed, 22 Mar 2017 09:29:46 +0000 (18:29 +0900)
commit58d78e654b5be71ace7dd7d4aef14b17fb980aa1
tree89c51bfb02568a4e3d749281fb6089bfb41677b2
parent339ad0fc720a7c776a5794e30d73baa2b7a20475
extcon: int3496: Add GPIO ACPI mapping table

In order to make GPIO ACPI library stricter prepare users of
gpiod_get_index() to correctly behave when there no mapping is
provided by firmware.

Here we add explicit mapping between _CRS GpioIo() resources and
their names used in the driver.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Documentation/extcon/intel-int3496.txt
drivers/extcon/extcon-intel-int3496.c