input: gpio_keys_polled: Make use of device property API
authorAaron Lu <aaron.lu@intel.com>
Tue, 21 Oct 2014 11:34:00 +0000 (13:34 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 4 Nov 2014 20:58:24 +0000 (21:58 +0100)
commitb26d4e2283b6d9b65bfe14b99c9c3a560e390a00
treeea88d6d17c9cca3e7a36f01bc9aebe0f7b86a75f
parenta43f2cbbb009f96231bbbe24ad4f824215dedb81
input: gpio_keys_polled: Make use of device property API

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

Signed-off-by: Aaron Lu <aaron.lu@intel.com>
Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Acked-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Acked-by: Grant Likely <grant.likely@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/input/keyboard/gpio_keys_polled.c