commit | 262ea0d476049fa393509a70c9ecfa06df403b4a | [log] [tgz] |
---|---|---|
author | H Hartley Sweeten <hartleys@visionengravers.com> | Wed May 23 14:28:47 2012 -0700 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Mon Jun 04 20:38:09 2012 -0700 |
tree | 50e09635b674911f1518027ad4459a7a5565168a | |
parent | fc330f458941df0f1651964e8e1207e62fb6db51 [diff] |
staging: comedi: adl_pci7296: 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>