xhci: switch to pci_alloc_irq_vectors
authorChristoph Hellwig <hch@lst.de>
Wed, 19 Apr 2017 13:55:49 +0000 (16:55 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 19 Apr 2017 17:59:17 +0000 (19:59 +0200)
commit77d45b4500967de674b8f75a9a91f58d57d5704d
treee5478e17b3f6cc694a93151e7bfbbcc2b9e334de
parent435cc1138ec94af7497ea68c8eb8b0c17cfcf002
xhci: switch to pci_alloc_irq_vectors

Use the modern API to request MSI or MSI-X interrupts, which allows us to
get rid of the msix_entries array, as well as cleaning up the cleanup
code.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Mathias Nyman <mathias.nyman@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/xhci.c
drivers/usb/host/xhci.h