]> git.karo-electronics.de Git - karo-tx-linux.git/commit
Revert "HID: i2c-hid: Add support for ACPI GPIO interrupts"
authorDavid Arcari <darcari@redhat.com>
Thu, 13 Oct 2016 09:30:44 +0000 (11:30 +0200)
committerJiri Kosina <jkosina@suse.cz>
Fri, 14 Oct 2016 14:02:05 +0000 (16:02 +0200)
commitba18a9314a94f4a54b4d0c5e0f1dc85af28eca35
tree469909306d1540fa660c7c4e44aec0920b11d280
parentbc75450cc3db3485db1e289fef8c1028ba38296a
Revert "HID: i2c-hid: Add support for ACPI GPIO interrupts"

This reverts commit a485923efbb8 ("HID: i2c-hid: Add support for ACPI
GPIO interrupts") and commit a7d2bf25a483 ("HID: i2c-hid: Do not fail
probing if gpiolib is not enabled") at the same time.

Since commit c884fbd45214 ("gpio / ACPI: Add support for retrieving
GpioInt resources from a device") i2c_core already set the IRQ by
looking into the ACPI tree and retrieving the gpioInt. So we just
have some boiler-plate here that is not needed anymore.

The only downside effect here is that now we are not exiting early
enough if the irq is set to -EPROBE_DEFER or any other error, but
this is going to be fixed in the following patch.

Signed-off-by: David Arcari <darcari@redhat.com>
Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Reviewed-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/i2c-hid/i2c-hid.c