staging: comedi: cb_pcidas: factor out the find pci device code
authorH Hartley Sweeten <hartleys@visionengravers.com>
Wed, 27 Jun 2012 00:53:08 +0000 (17:53 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 6 Jul 2012 22:23:50 +0000 (15:23 -0700)
commit327be979c1819d4404927af4b6e3ba8f22a4fa07
tree0f39c51edaf93bf175f42d85295fdc6fef3ebf4c
parent82d8c74dcc75235740db3ed947267bfa5baa3117
staging: comedi: cb_pcidas: factor out the find pci device code

Factor the "find pci device" code out of the attach function.

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/cb_pcidas.c