From: Hidetoshi Seto Date: Thu, 15 Apr 2010 04:11:42 +0000 (+0900) Subject: PCI: aerdrv: rework find_source_device X-Git-Tag: v2.6.35-rc1~433^2~24 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=98ca3964fe8da0d742331af80952443af5cff464;p=pandora-kernel.git PCI: aerdrv: rework find_source_device Return bool to indicate that the source device is found or not. This allows us to skip calling aer_process_err_devices() if we can. And move dev_printk for debug into this function. v2: return bool instead of int Signed-off-by: Hidetoshi Seto Reviewed-by: Kenji Kaneshige Signed-off-by: Jesse Barnes --- Reading git-diff-tree failed