]> git.baikalelectronics.ru Git - kernel.git/commit
staging: comedi: adl_pci8164: factor out the PCI device code
authorH Hartley Sweeten <hartleys@visionengravers.com>
Wed, 23 May 2012 22:44:10 +0000 (15:44 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 5 Jun 2012 03:38:09 +0000 (20:38 -0700)
commit6038604279d309f392c2de4893e691315c2dee07
tree9a3ff9e946c715433972bbc3ce4a7d7c668b0809
parent44cc81ed8a3deeaaf4c44f7ec0c5da6587caeb00
staging: comedi: adl_pci8164: factor out the PCI device code

Factor out the code that finds a matching PCI device from attach
function. This allows reducing the indent level of the remaining
code in the 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_pci8164.c