From: H Hartley Sweeten Date: Thu, 19 Jul 2012 01:50:16 +0000 (-0700) Subject: staging: comedi: contec_pci_dio: cleanup "find pci device" code X-Git-Tag: v3.6-rc1~100^2~88 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b8acd7750a2366216d9ec81f96b0594f6bb86707;p=pandora-kernel.git staging: comedi: contec_pci_dio: cleanup "find pci device" code Add a couple local variables and reorder the tests to make to make the more concise. Change the printk to a dev_err when no match is found and reword the message. Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed