]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitb38f32dd8138a48206b2e2448aff58b7017c2d8d
tree9a6315a617bdc8a0b61cce1a6cd75afdb99cf743
parent4314dcc846a669e27df124ce653b5d81fe81484e
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