]> asedeno.scripts.mit.edu Git - linux.git/commit
PCI/portdrv: Use pci_irq_alloc_vectors()
authorChristoph Hellwig <hch@lst.de>
Wed, 1 Feb 2017 13:41:43 +0000 (14:41 +0100)
committerBjorn Helgaas <bhelgaas@google.com>
Fri, 10 Feb 2017 22:06:12 +0000 (16:06 -0600)
commit3674cc49da9a8fc55bf1dec2ab03a66c77f2dcdf
tree93fb9d52896b6fd1370d1b31867bac23e00b1011
parent862290f9e23c39051e59bf12ce65707a8ec8b911
PCI/portdrv: Use pci_irq_alloc_vectors()

Use pci_irq_alloc_vectors() and greatly simplify the code by managing the
vector number for the subservices directly.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/pcie/portdrv_core.c