staging: comedi: addi_apci_2032: don't read the unused PCI bars
authorH Hartley Sweeten <hartleys@visionengravers.com>
Fri, 30 Nov 2012 01:17:30 +0000 (18:17 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 30 Nov 2012 02:05:29 +0000 (18:05 -0800)
commitff5eb17ef48738dcc3348d765134a915c9d5091d
treec0a3aafc50440130536467abbf35db7e1cef16ec
parentf5f760e1d3bf641dacc64240a593267cab554a7a
staging: comedi: addi_apci_2032: don't read the unused PCI bars

This driver only uses PCI bar 1 (dev->iobase), doon'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_2032.c