]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
skd: use pci_alloc_irq_vectors
authorChristoph Hellwig <hch@lst.de>
Mon, 7 Nov 2016 19:14:07 +0000 (11:14 -0800)
committerJens Axboe <axboe@fb.com>
Tue, 8 Nov 2016 04:37:20 +0000 (21:37 -0700)
commit180b0ae77d49dd63183b18609f3601430582c403
treeddb23d6cb71d05b59163d8d1ff2e2fa86ea84a4f
parentfeebd5687257750bb75eaf5188b93756994b8c41
skd: use pci_alloc_irq_vectors

Switch the skd driver to use pci_alloc_irq_vectors.  We need to two calls to
pci_alloc_irq_vectors as skd only supports multiple MSI-X vectors, but not
multiple MSI vectors.

Otherwise this cleans up a lot of cruft and allows to a lot more common code.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@fb.com>
drivers/block/skd_main.c