crypto: cavium - switch to pci_alloc_irq_vectors
authorChristoph Hellwig <hch@lst.de>
Wed, 15 Feb 2017 07:18:43 +0000 (08:18 +0100)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 23 Feb 2017 12:11:02 +0000 (20:11 +0800)
commit15c0b9edcc41fe8fddcd07d6b58ee15e6554d17e
treef5ba8165be0802d5464be110018f04254cb68078
parent613844e811a87ddbc646bd30e724c34472540296
crypto: cavium - switch to pci_alloc_irq_vectors

pci_enable_msix has been long deprecated, but this driver adds a new
instance.  Convert it to pci_alloc_irq_vectors and greatly simplify
the code, and make sure the prope code properly unwinds.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/cavium/cpt/cptvf.h
drivers/crypto/cavium/cpt/cptvf_main.c