NFC: pn544: Add GPIO ACPI mapping table
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Tue, 28 Mar 2017 09:36:38 +0000 (12:36 +0300)
committerSamuel Ortiz <sameo@linux.intel.com>
Wed, 5 Apr 2017 08:04:19 +0000 (10:04 +0200)
commita4a0eb783b112e45563dcf020388dfa186961010
tree0dfedb11333c3d62a65acaa16a540f02b728d54d
parent182d4e860845bbf388f5f60d9e651611f3dbd351
NFC: pn544: 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: Samuel Ortiz <sameo@linux.intel.com>
drivers/nfc/pn544/i2c.c