* [PATCH 05/05] ARM: mach-shmobile: IRQ driven GPIO key support for Kota2
@ 2012-02-23 5:33 Magnus Damm
0 siblings, 0 replies; only message in thread
From: Magnus Damm @ 2012-02-23 5:33 UTC (permalink / raw)
To: linux-sh
From: Magnus Damm <damm@opensource.se>
Now when GPIO IRQs are supported on sh73a0 modify the Kota2
board code to switch from the polled "gpio-keys-polled" driver
to the IRQ driven "gpio-keys" driver.
Signed-off-by: Magnus Damm <damm@opensource.se>
---
arch/arm/mach-shmobile/board-kota2.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
--- 0001/arch/arm/mach-shmobile/board-kota2.c
+++ work/arch/arm/mach-shmobile/board-kota2.c 2012-01-17 20:00:13.000000000 +0900
@@ -143,11 +143,10 @@ static struct gpio_keys_button gpio_butt
static struct gpio_keys_platform_data gpio_key_info = {
.buttons = gpio_buttons,
.nbuttons = ARRAY_SIZE(gpio_buttons),
- .poll_interval = 250, /* polled for now */
};
static struct platform_device gpio_keys_device = {
- .name = "gpio-keys-polled", /* polled for now */
+ .name = "gpio-keys",
.id = -1,
.dev = {
.platform_data = &gpio_key_info,
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2012-02-23 5:33 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-02-23 5:33 [PATCH 05/05] ARM: mach-shmobile: IRQ driven GPIO key support for Kota2 Magnus Damm
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).