staging: comedi: addi_apci_1564: remove use of devpriv->iobase
authorChase Southwood <chase.southwood@yahoo.com>
Tue, 15 Apr 2014 05:53:55 +0000 (00:53 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 22 Apr 2014 17:17:38 +0000 (10:17 -0700)
commitc9b1420c397314a4855af70aadb79450d1bd6fe0
tree3ecd0347c0cadf052c378a98905167fddd21516e
parent3eb9992caff10b62cf0ed0bcb1667a58b13188fa
staging: comedi: addi_apci_1564: remove use of devpriv->iobase

devpriv->iobase is currently being used to hold the iobase address used to
read/write the board's registers.  The same address is stored in the
comedi_device dev->iobase.  We use that instead.  The eventual goal is to
decrease the driver's use of the struct addi_private, so that it may
eventually use a much slimmer specialized private struct instead, as the
other addi_apci_* drivers do.

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