platform/x86: i2c-multi-instantiate: Distinguish IRQ resource type
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Wed, 28 Nov 2018 11:45:31 +0000 (13:45 +0200)
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 3 Dec 2018 19:40:02 +0000 (21:40 +0200)
commit870ab9a379b6753ed45736152b0237ccc726172c
tree505e3690b62ec020b108334b1e9877e40f4739af
parenta729656697e306595f5349b9176cebea459d7519
platform/x86: i2c-multi-instantiate: Distinguish IRQ resource type

As a preparatory patch switch the driver to distinguish IRQ resource type.
For now, only GpioInt() is supported.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
drivers/platform/x86/i2c-multi-instantiate.c