frv/PCI: Use list_for_each_entry() for bus->devices traversal
authorBjorn Helgaas <bhelgaas@google.com>
Thu, 16 Aug 2012 22:44:18 +0000 (16:44 -0600)
committerBjorn Helgaas <bhelgaas@google.com>
Wed, 22 Aug 2012 17:34:38 +0000 (11:34 -0600)
commitfd3768349b0ba7bac9e102a8f146f783a03926fe
tree5b9ff973c95a87630ade40f4a6f77bf52930ad32
parenta7479d74460a4873b73534aa89cb82ab70ff8a32
frv/PCI: Use list_for_each_entry() for bus->devices traversal

Replace open-coded list traversal with list_for_each_entry().

Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Acked-by: Yinghai Lu <yinghai@kernel.org>
CC: David Howells <dhowells@redhat.com>
arch/frv/mb93090-mb00/pci-vdk.c