i2c: acpi: Use available IRQ helper functions
authorCharles Keepax <ckeepax@opensource.cirrus.com>
Thu, 27 Jun 2019 09:24:07 +0000 (10:24 +0100)
committerWolfram Sang <wsa@the-dreams.de>
Sat, 29 Jun 2019 11:17:27 +0000 (13:17 +0200)
commitc2223ddcfe64864c9a6541c0ffe22d96255597e0
treeae561db584464254634b4559b86e46f939a0a391
parent1d7534b6adcd3e4a9673c4e7fdc5bf4770f5ab81
i2c: acpi: Use available IRQ helper functions

Use the available IRQ helper functions, most of the functions have
additional helpful side affects like configuring the trigger type of the
IRQ.

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