staging: comedi: addi_apci_1032: remove use of devpriv->iobase
authorH Hartley Sweeten <hartleys@visionengravers.com>
Mon, 5 Nov 2012 21:37:40 +0000 (14:37 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 6 Nov 2012 08:30:56 +0000 (09:30 +0100)
commit427ee2be54d9a30861226cc65b16659a01b140f3
tree03ed62253fbca27be46400a29d4ee13c4015d28a
parente0085d1fc9f2068be61e3ec23e1bb95f64fecffe
staging: comedi: addi_apci_1032: remove use of devpriv->iobase

Currently, devpriv->iobase is used to hold the PCI bar 2 base address
used to read/write the registers on the board. The same information
is stored in the comedi_device dev->iobase. Use that instead.

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-data/hwdrv_apci1032.c
drivers/staging/comedi/drivers/addi_apci_1032.c