commit | 66455f5472383df3632140e04f0852215e5c9ce8 | [log] [tgz] |
---|---|---|
author | Bjorn Helgaas <bhelgaas@google.com> | Fri Aug 17 15:53:27 2012 -0600 |
committer | Bjorn Helgaas <bhelgaas@google.com> | Wed Aug 22 11:31:37 2012 -0600 |
tree | 647bff405ef4cbdd01b1dba594e632b715029e54 | |
parent | 125e14bb35e65b1ddfb7252fa8f6e3c50dbb6db2 [diff] |
PCI: Use list_for_each_entry() for bus->devices traversal Replace list_for_each() + pci_dev_b() with the simpler list_for_each_entry(). Tested-by: Yijing Wang <wangyijing@huawei.com> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com> Acked-by: Yinghai Lu <yinghai@kernel.org>