PCI Hotplug: acpiphp: clean up list traversals
authorAlex Chiang <achiang@hp.com>
Tue, 27 Oct 2009 03:25:27 +0000 (21:25 -0600)
committerJesse Barnes <jbarnes@virtuousgeek.org>
Wed, 4 Nov 2009 21:06:40 +0000 (13:06 -0800)
commit58c08628c4fe664bfd5f8b7e773b4b157bb9686f
treea0eb74068dd019238af73e0569e9351d473a48eb
parent204d49a5613a06eb2fa5c3b842a29b1336cc7995
PCI Hotplug: acpiphp: clean up list traversals

Using list_for_each_entry instead of list_for_each allows us to
enhance readability and minorly reduce some stack usage.

Signed-off-by: Alex Chiang <achiang@hp.com>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
drivers/pci/hotplug/acpiphp_glue.c