staging: comedi: adl_pci9118: factor out the find PCI device code
authorH Hartley Sweeten <hartleys@visionengravers.com>
Wed, 23 May 2012 23:34:58 +0000 (16:34 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 5 Jun 2012 03:38:08 +0000 (20:38 -0700)
commit93b6e4790ecd3025a1a38d3758ee1ac0b264799c
tree58a9e5349e94d94e04a1a2daae506014c6ca558f
parent8d0300a1d983a10cd3358f47b4317eca62c9b96b
staging: comedi: adl_pci9118: 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/adl_pci9118.c