powerpc/PCI: Use list_for_each_entry() for bus traversal
authorYijing Wang <wangyijing@huawei.com>
Thu, 13 Feb 2014 13:14:01 +0000 (21:14 +0800)
committerBjorn Helgaas <bhelgaas@google.com>
Fri, 14 Feb 2014 18:20:51 +0000 (11:20 -0700)
commit3bc955987fb377f3c95bc29deb498e96819b8451
treea854df26cc5921eec45bb274376974a5f838ab84
parent59c1ad3b82b96bfcb40bf96ecff1d94f218fca6e
powerpc/PCI: Use list_for_each_entry() for bus traversal

Replace list_for_each() + pci_bus_b() with list_for_each_entry().

Signed-off-by: Yijing Wang <wangyijing@huawei.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
arch/powerpc/kernel/pci_64.c
arch/powerpc/platforms/pseries/pci_dlpar.c