scsi: mpt3sas: switch to pci_alloc_irq_vectors
authorHannes Reinecke <hare@suse.de>
Wed, 22 Feb 2017 10:31:41 +0000 (11:31 +0100)
committerMartin K. Petersen <martin.petersen@oracle.com>
Thu, 23 Feb 2017 22:01:05 +0000 (17:01 -0500)
commit1d55abc0e98a0bf35f3af80665aac564e3b30572
treec8bb089a6e9d199251a6fcccf0f9ef249e8f3802
parent1afca6b5f31616d330fb64a0c87060640a75ff6a
scsi: mpt3sas: switch to pci_alloc_irq_vectors

Cleanup the MSI-X handling allowing us to use the PCI-layer provided
vector allocation.

Signed-off-by: Hannes Reinecke <hare@suse.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Acked-by: Sreekanth Reddy <sreekanth.reddy@broadcom.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/mpt3sas/mpt3sas_base.c
drivers/scsi/mpt3sas/mpt3sas_base.h