Skip to contentSkip to conversation

ARM: mach-shmobile: IRQ driven GPIO key support for Kota2

PATCH New Magnus Damm 1 participant 1 message Jan 17, 2012

Subsystems (4)
lore
Share & tools
lore

Magnus Damm

author maintainer
#0 lore raw

PATCH 1/1 ARM: mach-shmobile: IRQ driven GPIO key support for Kota2

From: Magnus Damm <[email protected]>

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.

---

 arch/arm/mach-shmobile/board-kota2.c |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
arch/arm/mach-shmobile/board-kota2.c +1 -2
@@ -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,