]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
staging: comedi: adl_pci7230: factor out the find PCI device code
authorH Hartley Sweeten <hartleys@visionengravers.com>
Wed, 23 May 2012 21:14:13 +0000 (14:14 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 5 Jun 2012 03:38:08 +0000 (20:38 -0700)
commit8d0300a1d983a10cd3358f47b4317eca62c9b96b
treec53d5bda0a433533b5b506d2c8861c34bf0f82bd
parent1c9de58acc06cba56b5f1bd17a5a74a66427f8b1
staging: comedi: adl_pci7230: 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_pci7230.c