From: H Hartley Sweeten Date: Thu, 19 Jul 2012 01:31:43 +0000 (-0700) Subject: staging: comedi: adv_pci1710: cleanup "find pci device" code X-Git-Tag: v3.6-rc1~100^2~127 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5aa53d5f2e9cf38112b8087ead926fcaacaa5abe;p=pandora-kernel.git staging: comedi: adv_pci1710: cleanup "find pci device" code Use for_each_pci_dev() instead of open-coding the loop using pci_get_device(). Drop the printk error messages. They just add noise. Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed