]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
staging: comedi: adv_pci1723: factor out the "find pci device" code
authorH Hartley Sweeten <hartleys@visionengravers.com>
Thu, 19 Jul 2012 01:29:54 +0000 (18:29 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 19 Jul 2012 23:19:41 +0000 (16:19 -0700)
commit05979c7b3c5463eddbbfd3dd56f8a62679508c5e
tree90175c9b855ef6a2a8dc66e80b1ce6203ec2cfea
parentc945a1d1189428101c357220ee25f6adc906a7de
staging: comedi: adv_pci1723: 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/adv_pci1723.c