de4x5/PCI: use list_for_each_entry() for bus->devices traversal
commitbf684f6512223673aa78b62ea59df8be409c460d
authorBjorn Helgaas <bhelgaas@google.com>
Fri, 16 Dec 2011 12:31:54 +0000 (16 12:31 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 19 Dec 2011 21:13:37 +0000 (19 16:13 -0500)
tree2432768f5bd19abf7d57af264b5ed00e02847026
parentbc12d289e10afe0205738af30883853ed0ab6883
de4x5/PCI: use list_for_each_entry() for bus->devices traversal

Replace open-coded list traversal with list_for_each_entry().

CC: Grant Grundler <grundler@parisc-linux.org>
CC: netdev@vger.kernel.org
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/dec/tulip/de4x5.c