]> git.openfabrics.org - ~emulex/infiniband.git/commit
staging: comedi: remove pci_is_enabled() tests
authorH Hartley Sweeten <hartleys@visionengravers.com>
Fri, 20 Jul 2012 17:31:43 +0000 (10:31 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 8 Aug 2012 00:14:53 +0000 (17:14 -0700)
commit8258d3923c7d8f9a28c43612c3f91c7b9d61191b
tree7e73a34bf19c3fa98b08e97b9cec92262adb176f
parent0d7614f09c1ebdbaa1599a5aba7593f147bf96ee
staging: comedi: remove pci_is_enabled() tests

As mentioned by Ian Abbott, the comedi pci drivers that try to
locate an unused pci device with the pci_is_enabled() test
might actually skip over a perfectly good unused device. This
test is also not consistent with the other comedi pci drivers.

Remove the test from all the comedi pci drivers.

Reported-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/adv_pci1710.c
drivers/staging/comedi/drivers/adv_pci1723.c
drivers/staging/comedi/drivers/adv_pci_dio.c