• Bjorn Helgaas's avatar
    Merge branch 'pci/resource' · 1c03b5bf
    Bjorn Helgaas authored
    - Add pci_dev_for_each_resource() and pci_bus_for_each_resource() iterators
      to simplify loops (Andy Shevchenko)
    
    * pci/resource:
      EISA: Drop unused pci_bus_for_each_resource() index argument
      PCI: Make pci_bus_for_each_resource() index optional
      PCI: Document pci_bus_for_each_resource()
      PCI: Introduce pci_dev_for_each_resource()
      PCI: Introduce pci_resource_n()
    1c03b5bf
pci.c 181 KB