staging: comedi: addi_apci_1564: move apci1564_interrupt() into addi_apci_1564.c
authorChase Southwood <chase.southwood@gmail.com>
Sat, 21 Jun 2014 22:26:10 +0000 (17:26 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 27 Jun 2014 00:09:37 +0000 (20:09 -0400)
commit860ba36cbeadee9064e2925be11dfb8368b9b25d
tree21698aad5075df9ddf8023d84f74ac2ee54aaab7
parent1e15687ea472614d48416c53bebcf213c07a5532
staging: comedi: addi_apci_1564: move apci1564_interrupt() into addi_apci_1564.c

On moving the function into the driver proper, also check the device is
asserting the shared interrupt line.

This patch also fixes the interrupt handling for the digital input
change-of-state interrupts.

Signed-off-by: Chase Southwood <chase.southwood@gmail.com>
Reviewed-by: Ian Abbott <abbotti@mev.co.uk>
Cc: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/addi-data/hwdrv_apci1564.c
drivers/staging/comedi/drivers/addi_apci_1564.c