nvme: switch to use pci_alloc_irq_vectors
authorChristoph Hellwig <hch@lst.de>
Wed, 14 Sep 2016 14:18:57 +0000 (16:18 +0200)
committerJens Axboe <axboe@fb.com>
Thu, 15 Sep 2016 14:42:03 +0000 (08:42 -0600)
commitdca51e7892fa3bc545023f9f0d004a2db69eb2a1
tree84a70f626ef572d35e5486f2db8f45101f7bcf92
parent973c4e372c8f71a15ac39765e657ded70fc87d41
nvme: switch to use pci_alloc_irq_vectors

Use the new helper to automatically select the right interrupt type, as
well as to use the automatic interupt affinity assignment.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Keith Busch <keith.busch@intel.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
drivers/nvme/host/pci.c