]> git.baikalelectronics.ru Git - kernel.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)
commit68fa2a5cff8d47e8226985c740636de053b564ea
treeddb23d6cb71d05b59163d8d1ff2e2fa86ea84a4f
parent43103734fbc0a9068a6ea735b36504e545d96a3d
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