staging: pi433: fix interrupt handler signatures
authorCihangir Akturk <cakturk@gmail.com>
Fri, 25 Aug 2017 08:21:02 +0000 (11:21 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 28 Aug 2017 08:27:29 +0000 (10:27 +0200)
commitee26e23616f0ea1c82516cfc5ae05e671597a546
tree935ae9135d05a0818a3ca5ca8169f10f450d08aa
parent19e60c42caeb29b4584dc46e873955059859ba84
staging: pi433: fix interrupt handler signatures

Remove "struct pt_regs *" parameter from interrupt handlers, since
it is no longer passed to interrupt handlers. Also, convert return
types to irqreturn_t.

Additionally, move DIO_irq_handler variable into the setup_GPIO
function, as it's not used outside of this function.

Signed-off-by: Cihangir Akturk <cakturk@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/pi433/pi433_if.c