PCI: hotplug: Use list_for_each_entry() to simplify code
authorGeliang Tang <geliangtang@163.com>
Sat, 12 Dec 2015 13:36:57 +0000 (21:36 +0800)
committerBjorn Helgaas <bhelgaas@google.com>
Sun, 10 Jan 2016 22:10:29 +0000 (16:10 -0600)
commit2ac83cccabbc8d264c20ce11931d60e0e6ea3f53
treeb6976ede7fb605ef9e0a0ffa9f6d00a072951665
parent1b47fd4551061ad6db5adf063d424aded798a7c9
PCI: hotplug: Use list_for_each_entry() to simplify code

Use list_for_each_entry() instead of list_for_each() to simplify the code.

Signed-off-by: Geliang Tang <geliangtang@163.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/hotplug/ibmphp_core.c
drivers/pci/hotplug/ibmphp_ebda.c
drivers/pci/hotplug/ibmphp_hpc.c
drivers/pci/hotplug/ibmphp_res.c
drivers/pci/hotplug/pci_hotplug_core.c
drivers/pci/hotplug/pcihp_skeleton.c
drivers/pci/hotplug/rpadlpar_core.c
drivers/pci/hotplug/rpaphp_core.c
drivers/pci/hotplug/s390_pci_hpc.c
drivers/pci/hotplug/shpchp_core.c