commit | d3ff7b93ee8b619f777a73f34812e66de07ecd93 | [log] [tgz] |
---|---|---|
author | H Hartley Sweeten <hartleys@visionengravers.com> | Wed May 23 15:44:10 2012 -0700 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Mon Jun 04 20:38:09 2012 -0700 |
tree | 9a3ff9e946c715433972bbc3ce4a7d7c668b0809 | |
parent | 1158244e013eeac80ad418ab8042cfc4462ee278 [diff] |
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>