]> Git Repo - linux.git/commit - drivers/pci/search.c
PCI: Use list_for_each_entry() for bus->devices traversal
authorBjorn Helgaas <[email protected]>
Fri, 17 Aug 2012 21:53:27 +0000 (15:53 -0600)
committerBjorn Helgaas <[email protected]>
Wed, 22 Aug 2012 17:31:37 +0000 (11:31 -0600)
commit66455f5472383df3632140e04f0852215e5c9ce8
tree647bff405ef4cbdd01b1dba594e632b715029e54
parent125e14bb35e65b1ddfb7252fa8f6e3c50dbb6db2
PCI: Use list_for_each_entry() for bus->devices traversal

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

Tested-by: Yijing Wang <[email protected]>
Signed-off-by: Bjorn Helgaas <[email protected]>
Acked-by: Yinghai Lu <[email protected]>
drivers/pci/remove.c
drivers/pci/search.c
This page took 0.055064 seconds and 4 git commands to generate.