scsi: lpfc: use pci_irq_alloc_vectors and pci_irq_free_vectors
authorChristoph Hellwig <hch@lst.de>
Sun, 12 Feb 2017 21:52:26 +0000 (13:52 -0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Wed, 22 Feb 2017 23:41:42 +0000 (18:41 -0500)
commit45ffac1976c580ac20d926257b2f6320ce1b210f
tree61ef34ce3802dfbfba69c24d209a861a38519ef9
parent8ea73db486cda442f0671f4bc9c03a76be398a28
scsi: lpfc: use pci_irq_alloc_vectors and pci_irq_free_vectors

This avoids having to store the msix_entries array and simpliefies the
shutdown and cleanup path a lot.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: James Smart <james.smart@broadcom.com>
Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Reviewed-by: Hannes Reinecke <hare@suse.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/lpfc/lpfc.h
drivers/scsi/lpfc/lpfc_init.c
drivers/scsi/lpfc/lpfc_sli4.h