genwqe: use pci_irq_allocate_vectors
authorChristoph Hellwig <hch@lst.de>
Tue, 4 Oct 2016 18:26:47 +0000 (15:26 -0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 31 Oct 2016 10:00:09 +0000 (04:00 -0600)
commitd3f45647a427ddbb7ac763ed512eab8b809443e8
tree9a6315a617bdc8a0b61cce1a6cd75afdb99cf743
parentd4608a83f78b489822d0f378acf752c8b71a750c
genwqe: use pci_irq_allocate_vectors

Simply the interrupt setup by using the new PCI layer helpers.

One odd thing about this driver is that it looks like it could request
multiple MSI vectors, but it will then only ever use a single one.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Acked-by: Gabriel Krisman Bertazi <krisman@linux.vnet.ibm.com>
Acked-by: Frank Haverkamp <haver@linux.vnet.ibm.com>=
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/misc/genwqe/card_base.h
drivers/misc/genwqe/card_utils.c