]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit45136f1704290ca9da2d19c5dc48a218a8b55a66
tree3ecd0347c0cadf052c378a98905167fddd21516e
parent4b824faf7ccea56f56b6bbf8cfaca84a64a5472b
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