Input: gpio_keys - switch to using generic device properties
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Thu, 20 Oct 2016 02:34:48 +0000 (19:34 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Tue, 8 Nov 2016 00:24:32 +0000 (16:24 -0800)
commit700a38b27eefc582099fdf69effacfad0ad738a4
tree03c70bb007e8afd63c596efcedd4db0a0f598593
parent5feeca3c1e39c01f9ef5abc94dea94021ccf94fc
Input: gpio_keys - switch to using generic device properties

Make use of the device property API in this driver so that both OF based
systems and ACPI based systems can use this driver.

Suggested-by: Geert Uytterhoeven <geert+renesas@glider.be>
Suggested-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Tested-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/keyboard/gpio_keys.c