HID: fix missing irq field
authorBenjamin Tissoires <benjamin.tissoires@redhat.com>
Sat, 10 Dec 2016 20:58:55 +0000 (21:58 +0100)
committerJiri Kosina <jkosina@suse.cz>
Mon, 12 Dec 2016 08:47:31 +0000 (09:47 +0100)
commit8cd16166b0002df427ed39e4970e0be4830199b2
treec694d53bc91d088b718ed9f8a4f16a3f3740e104
parentba1660f1791f31a76da247caebf273b3f3d5071c
HID: fix missing irq field

commit ba18a9314a94 ("Revert "HID: i2c-hid: Add support for ACPI GPIO
interrupts"") removed the need for storing the irq in struct i2c_hid.

But then commit de3c99488609 ("HID: i2c-hid: Disable IRQ before freeing
buffers") forgot to update the location of the irq.

Fix this by using the actual I2C client irq.

Reported-by: kbuild test robot <fengguang.wu@intel.com>
Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/i2c-hid/i2c-hid.c