Re: [PATCH v2 2/6] i2c: acpi: Use available IRQ helper functions

2019-05-28 Thread Charles Keepax
On Tue, May 28, 2019 at 01:30:28PM +0300, Mika Westerberg wrote: > On Mon, May 27, 2019 at 04:19:28PM +0100, Charles Keepax wrote: > > static int i2c_acpi_get_info(struct acpi_device *adev, > > struct i2c_board_info *info, > > struct i2c_adapter *a

Re: [PATCH v2 2/6] i2c: acpi: Use available IRQ helper functions

2019-05-28 Thread Mika Westerberg
On Mon, May 27, 2019 at 04:19:28PM +0100, Charles Keepax wrote: > static int i2c_acpi_get_info(struct acpi_device *adev, >struct i2c_board_info *info, >struct i2c_adapter *adapter, >acpi_handle *adapter_handle) >

[PATCH v2 2/6] i2c: acpi: Use available IRQ helper functions

2019-05-27 Thread Charles Keepax
Use the available IRQ helper functions, most of the functions have additional helpful side affects like configuring the trigger type of the IRQ. Signed-off-by: Charles Keepax --- Changes since v1: - Moved earlier in the patch series. drivers/i2c/i2c-core-acpi.c | 24