staging: comedi: addi_apci_3501: don't read the unused PCI bars
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Wed, 23 Jan 2013 19:40:28 +0000 (12:40 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 25 Jan 2013 20:00:29 +0000 (12:00 -0800)
commit09680870a9b986862277cfaf9598b0d67108deaf
treeff4be2a9b8f1b59c726161f0438c455f38fad700
parent0d14f610d2c6f28fbed2e45ef5525896a5498190
staging: comedi: addi_apci_3501: don't read the unused PCI bars

This driver only uses PCI bar 0 and 1, 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_3501.c