parisc/PCI: Use list_for_each_entry() for bus->devices traversal
commit0b79ca2a800d1a2ed0386886c8358217f3371592
authorBjorn Helgaas <bhelgaas@google.com>
Thu, 16 Aug 2012 22:45:02 +0000 (16 16:45 -0600)
committerBjorn Helgaas <bhelgaas@google.com>
Wed, 22 Aug 2012 17:34:38 +0000 (22 11:34 -0600)
treee78f58f56b3de5f22804e72c21641e78155d9c4d
parentf5725f4d3d9a69c647d6d2d504bd0ae87d9a08df
parisc/PCI: Use list_for_each_entry() for bus->devices traversal

Replace list_for_each() + pci_dev_b() with the simpler
list_for_each_entry().

Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Acked-by: Yinghai Lu <yinghai@kernel.org>
CC: linux-parisc@vger.kernel.org
drivers/parisc/dino.c
drivers/parisc/lba_pci.c