ACPI / hotplug / PCI: Use list_for_each_entry() for bus traversal
authorYijing Wang <wangyijing@huawei.com>
Thu, 13 Feb 2014 13:13:58 +0000 (21:13 +0800)
committerBjorn Helgaas <bhelgaas@google.com>
Fri, 14 Feb 2014 18:20:50 +0000 (11:20 -0700)
commitc6f0d5adc21e2d9623fe757f35a0a642a1d863c4
tree04dc2686d6397cfa9064eaf98b8712387a2493c0
parent38dbfb59d1175ef458d006556061adeaa8751b72
ACPI / hotplug / 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>
Acked-by: Rafael J. Wysocki <rjw@rjwysocki.net>
drivers/pci/hotplug/acpiphp_glue.c