EDAC, pci_sysfs: Use for_each_pci_dev to simplify the code
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>
Tue, 4 Dec 2012 05:01:42 +0000 (00:01 -0500)
committerBorislav Petkov <bp@alien8.de>
Tue, 4 Dec 2012 07:27:39 +0000 (08:27 +0100)
commit3bfe5aae8edd8436d26cddfeab783492d8950821
tree1efcdf3b2194fbaf6af30543e581277af4c94bc3
parent2d56b109e3a50cf316e60f07541bbeb1d8fe251a
EDAC, pci_sysfs: Use for_each_pci_dev to simplify the code

Use for_each_pci_dev to simplify the code.

Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
[Boris: cleanup comments and drop loop brackets]
Signed-off-by: Borislav Petkov <bp@alien8.de>
drivers/edac/edac_pci_sysfs.c