]> git.karo-electronics.de Git - karo-tx-linux.git/commit
staging: comedi: addi_apci_1032: remove send_sig() use
authorH Hartley Sweeten <hartleys@visionengravers.com>
Mon, 5 Nov 2012 21:41:36 +0000 (14:41 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 6 Nov 2012 08:30:58 +0000 (09:30 +0100)
commit14696bbec450bbc13773a8a8f85577469435fa77
treea2448b44a86d4c67110c089825efa7d30d264d56
parent6835a17a910cf68b500b7542f3eeea6c0f212ede
staging: comedi: addi_apci_1032: remove send_sig() use

The addi-data drivers use send_sig() to let the user know when an
interrupt has occurred. The "standard" way to do this in the comedi
subsystem is to have a subdevice that supports asynchronous commands
and use comedi_event() to signal the user.

Remove the send_sig() usage in this driver. This also allows removing
the dev->private usage since tsk_Current was the only member still
being used in the private data.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/addi_apci_1032.c