crypto: cavium - switch to pci_alloc_irq_vectors
authorChristoph Hellwig <hch@lst.de>
Wed, 15 Feb 2017 07:18:42 +0000 (08:18 +0100)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 23 Feb 2017 12:11:00 +0000 (20:11 +0800)
commit613844e811a87ddbc646bd30e724c34472540296
tree5db866ee2037a9668383f56b78b1d3660134208e
parentf4f228bff3c98990537ebd4bcab6730ae02d6e48
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.

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