PCI: Use list_for_each_entry() for bus->devices traversal
authorBjorn Helgaas <bhelgaas@google.com>
Fri, 17 Aug 2012 21:53:27 +0000 (15:53 -0600)
committerBjorn Helgaas <bhelgaas@google.com>
Wed, 22 Aug 2012 17:31:37 +0000 (11:31 -0600)
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>

No differences found