]> asedeno.scripts.mit.edu Git - linux.git/commit
[media] cobalt: use pci_irq_allocate_vectors()
authorChristoph Hellwig <hch@lst.de>
Mon, 9 Jan 2017 20:37:38 +0000 (21:37 +0100)
committerBjorn Helgaas <bhelgaas@google.com>
Fri, 13 Jan 2017 16:00:58 +0000 (10:00 -0600)
commite8e8dd6d20fa55ff974460ad742fcbf35b301062
treeb4dcb1aa55010f293bf9cd98d4e11b3209b75aef
parentdadf17334f3820e2f8c561011706b6fb99bf9860
[media] cobalt: use pci_irq_allocate_vectors()

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

Despite using pci_enable_msi_range(), this driver was only requesting a
single MSI vector anyway.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/media/pci/cobalt/cobalt-driver.c
drivers/media/pci/cobalt/cobalt-driver.h