staging: comedi: addi_apci_2200: don't read the unused PCI bars
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Fri, 18 Jan 2013 00:39:06 +0000 (17:39 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 18 Jan 2013 20:49:24 +0000 (12:49 -0800)
commitc64f13006d04c7f0c4ecbfcaf1c02f91ecd0b207
tree7e1b3eb96ce3305b4b15c45e1a17acf77e0f2e65
parent1d967a0356765cbef8351418613da83bb3d0d85a
staging: comedi: addi_apci_2200: don't read the unused PCI bars

This driver only uses PCI bar 1 (dev->iobase), don't bother reading
the unused PCI bars.

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_apci_2200.c