From: H Hartley Sweeten Date: Thu, 19 Jul 2012 01:30:15 +0000 (-0700) Subject: staging: comedi: adv_pci1723: cleanup "find pci device" code X-Git-Tag: v3.6-rc1~100^2~131 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3dbd666ca4e3c6e6d19101781a62555d0210ff57;p=pandora-kernel.git staging: comedi: adv_pci1723: 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