]> git.baikalelectronics.ru Git - kernel.git/commit
staging: comedi: rtd520: factor out the "find pci device" code
authorH Hartley Sweeten <hartleys@visionengravers.com>
Wed, 11 Jul 2012 00:24:52 +0000 (17:24 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 16 Jul 2012 00:16:28 +0000 (17:16 -0700)
commit4b586f695b19e8ee922f00779e05ee5a83c4fb85
treea177ca8b56f321ff44496718c50a84f347924d70
parent4811575e3324ea71436e6f6c8ae5a9f8e9484274
staging: comedi: rtd520: factor out the "find pci device" code

Factor the "find pci device" code out of the attach function.

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