vfio_pci: use pci_alloc_irq_vectors
authorChristoph Hellwig <hch@lst.de>
Sun, 11 Sep 2016 13:31:26 +0000 (15:31 +0200)
committerAlex Williamson <alex.williamson@redhat.com>
Thu, 29 Sep 2016 19:36:38 +0000 (13:36 -0600)
commit61771468e0a567f007fc450725063bb9cf7eb199
tree5065da5efca34a18e5cb0b0d9f7418e533444981
parentc93a97ee0583cd65adaf872e7cc402493eae92a7
vfio_pci: use pci_alloc_irq_vectors

Simplify the interrupt setup by using the new PCI layer helpers.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
drivers/vfio/pci/vfio_pci_intrs.c
drivers/vfio/pci/vfio_pci_private.h