From: H Hartley Sweeten Date: Thu, 19 Jul 2012 01:34:51 +0000 (-0700) Subject: staging: comedi: adv_pci_dio: cleanup "find pci device" code X-Git-Tag: v3.6-rc1~100^2~122 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=096de334d9209daff1595c056f89695f6ad35d6c;p=pandora-kernel.git staging: comedi: adv_pci_dio: cleanup "find pci device" code Add a couple local variables to make the tests more concise. Reorder the tests to make the for() loop checking for a matching boardtype quicker. Drop the dev_dbg message for a match. It's just add noise. Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed