From: H Hartley Sweeten Date: Thu, 19 Jul 2012 01:36:30 +0000 (-0700) Subject: staging: comedi: cb_pcidio: cleanup "find pci device" code X-Git-Tag: v3.6-rc1~100^2~118 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2329a10c3f985cbe7bba6ff3a053837f71a1ea40;p=pandora-kernel.git staging: comedi: cb_pcidio: 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 for a match. It's just add noise. Reword the dev_err when no match is found. Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed