]> git.baikalelectronics.ru Git - kernel.git/commit
staging: comedi: addi_apci_2032: remove use of struct addi_private
authorH Hartley Sweeten <hartleys@visionengravers.com>
Fri, 30 Nov 2012 01:19:41 +0000 (18:19 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 30 Nov 2012 02:05:31 +0000 (18:05 -0800)
commit3e2cf3ffef0c6a6490e5fb2b2d10d43c10c32c36
tree175ecf957e0a7910d6af0bad6f8d4320d9a41572
parent660643e525af15e1d21ad1df5e1aa46d8f89e8c2
staging: comedi: addi_apci_2032: remove use of struct addi_private

The only data in addi_private used in this driver is:

tsk_Current - used with send_sig to signal userspace when an interrupt
has occurred. Interrupt support in this driver does not follow the
standard comedi API so this functionality is currently broken. This
will be addressed.

b_OutputMemoryStatus - used in the addi-data "common" code to enable
reading of the eeprom. Eeprom support is not needed by this driver
and has been removed.

Since this data is not needed, remove the use of struct addi_private.

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