]> git.karo-electronics.de Git - karo-tx-linux.git/commit
staging: comedi: adv_pci1710: factor out the "find pci device" code
authorH Hartley Sweeten <hartleys@visionengravers.com>
Thu, 19 Jul 2012 01:31:26 +0000 (18:31 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 19 Jul 2012 23:19:41 +0000 (16:19 -0700)
commit96554c81d512d171b2e3b9dd3769bed8280ded2f
treef50fed02402ae17d0eaebaca56f54786f1f40e03
parentdbe85f1757f1cb6a8ce206a38a855fb7b60ca159
staging: comedi: adv_pci1710: 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_pci1710.c