staging: comedi: das08: Remove pci_iobase from private data
authorIan Abbott <abbotti@mev.co.uk>
Fri, 31 Aug 2012 19:41:38 +0000 (20:41 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 4 Sep 2012 19:00:41 +0000 (12:00 -0700)
commitfb8ff5d501e8b461d604db941673efbc7dc9d347
tree19e30e96ecab32d40f805e1c501a7d2da6cb906d
parent9fcd4853f7c642cda6d5d84ba2236d0af7c38336
staging: comedi: das08: Remove pci_iobase from private data

The `pci_iobase` I/O port registers from PCI BAR 1 are never accessed,
so don't bother storing this base address in `struct
das08_private_struct`.

The `pci_iobase` member was checked for non-zero in `das08_detach()` but
we can check `dev->iobase` is non-zero instead.

Signed-off-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/das08.c
drivers/staging/comedi/drivers/das08.h