]> git.baikalelectronics.ru Git - kernel.git/commit
Input: gpio-keys - use IRQF_SHARED
authorDmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Tue, 3 Nov 2009 06:04:18 +0000 (22:04 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Tue, 3 Nov 2009 06:12:37 +0000 (22:12 -0800)
commit558a5e296a02266ef43d6e933ee35df9976de987
tree8bc96d27e296d9c28284235ca4119b4df2b71a6e
parent0baa3de6eb677e5c9b4c38642c6619df2b4ef11f
Input: gpio-keys - use IRQF_SHARED

There is nothing that disallows gpio-keys to share it's IRQ line
w/ other drivers. Make it use IRQF_SHARED in request_irq().

An example of other driver with which I'd like to share IRQ line
for GPIO buttons is ledtrig-gpio.

Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/input/keyboard/gpio_keys.c