From: H Hartley Sweeten Date: Thu, 19 Jul 2012 01:57:49 +0000 (-0700) Subject: staging: comedi: dt3000: cleanup "find pci device" code X-Git-Tag: v3.6-rc1~100^2~80 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=606f1295cfe8fd3fe8b4e4f7ca393a5db5e89e44;p=pandora-kernel.git staging: comedi: dt3000: cleanup "find pci device" code The "find pci device" code for this driver was split between two functions which could cause the driver to walk the pci bus multiple times while looking for a match. Consolidate the functions into the format that is more standard for the comedi pci drivers. Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed