Input: gpio-keys - optimize interrupt handler
authorUwe Kleine-König <Uwe.Kleine-Koenig@digi.com>
Fri, 8 Aug 2008 16:14:34 +0000 (12:14 -0400)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Fri, 8 Aug 2008 16:20:12 +0000 (12:20 -0400)
commit57ffe9d539e0eb741bb9ca8f2834d210e70ee2e3
treebd058b8c02fe76a501fbf59085760ebf421f6797
parent34a7c48c221676ff8322ca4b8ded84eada34cf12
Input: gpio-keys - optimize interrupt handler

By passing a gpio_button_data structure to the handler instead of the
whole platform_device the search for the right button can go away.

Signed-off-by: Uwe Kleine-König <Uwe.Kleine-Koenig@digi.com>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/input/keyboard/gpio_keys.c