staging: comedi: addi_apci_1516: remove use of struct addi_private
authorH Hartley Sweeten <hartleys@visionengravers.com>
Tue, 13 Nov 2012 20:43:44 +0000 (13:43 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 13 Nov 2012 23:12:53 +0000 (15:12 -0800)
commita29cd0eedf30779675d6a1a678da1ff55d681494
treecfa40c14e1c72a1eae980acb71742b6b44de71fd
parent005ce48e86f610b1a41e3ed527e42b0788e0639c
staging: comedi: addi_apci_1516: remove use of struct addi_private

The only private data this driver has is the iobase address for the
watchdog. Create a local struct to hold this information in dev->private
and remove the need for struct addi_private from the "common" code.

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-data/hwdrv_apci1516.c
drivers/staging/comedi/drivers/addi_apci_1516.c