staging: comedi: cb_pcidio: factor out the "find pci device" code
authorH Hartley Sweeten <hartleys@visionengravers.com>
Thu, 19 Jul 2012 01:36:08 +0000 (18:36 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 19 Jul 2012 23:32:52 +0000 (16:32 -0700)
commit41f7ea34f53ea432f77129b81db6d880d4cfa648
treec5994e2519e3a0984fe3a38dc0bc29ccda80c8cc
parentba36b9ba768b5d617f0729eeebef16dc8416c750
staging: comedi: cb_pcidio: 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_pcidio.c