i2c: core: Move ACPI gpio IRQ handling into i2c_acpi_get_irq
authorCharles Keepax <ckeepax@opensource.cirrus.com>
Thu, 27 Jun 2019 09:24:10 +0000 (10:24 +0100)
committerWolfram Sang <wsa@the-dreams.de>
Sat, 29 Jun 2019 11:17:54 +0000 (13:17 +0200)
commit8466b616cbee91641a419c98d77027cef84066e5
treed062cb2ad9282404734e9fa9bb68bd67cbf8fadf
parent16c9db1dd84cef50c819733a19def842bdb3d5ef
i2c: core: Move ACPI gpio IRQ handling into i2c_acpi_get_irq

It makes sense to contain all the ACPI IRQ handling in a single helper
function.

Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Reviewed-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/i2c-core-acpi.c
drivers/i2c/i2c-core-base.c