staging: comedi: s626: factor out the find PCI device code
authorH Hartley Sweeten <hartleys@visionengravers.com>
Thu, 21 Jun 2012 02:28:01 +0000 (19:28 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 23 Jun 2012 03:05:03 +0000 (20:05 -0700)
commit9c1f1f12472c5b9808e4465cdf882892b19f2f10
tree8fc5b3bc6ebad7be2d81af52d69334e8ac30c177
parent90fd56af25b7835118657833a52bb4c85a911de7
staging: comedi: s626: factor out the find PCI device code

Factor out the code that finds a matching PCI device from attach
function.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Cc: Mori Hess <fmhess@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/s626.c