staging: comedi: cb_pcidda: factor out the "find pci device" code
authorH Hartley Sweeten <hartleys@visionengravers.com>
Thu, 19 Jul 2012 01:44:03 +0000 (18:44 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 19 Jul 2012 23:32:54 +0000 (16:32 -0700)
commit84b2d57c0bd9ddb31d33f6a5656bc4d6e6a04576
tree7c878d7724fdf0e75c1a80f10431c7f0eedf401d
parent000e2635028bf8a1537383c5c27bf1bff27bc2f6
staging: comedi: cb_pcidda: 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_pcidda.c