PCI: vmd: Create IRQ allocation helper
authorJon Derrick <jonathan.derrick@intel.com>
Tue, 28 Jul 2020 19:49:43 +0000 (13:49 -0600)
committerBjorn Helgaas <bhelgaas@google.com>
Tue, 20 Oct 2020 20:07:05 +0000 (15:07 -0500)
commit875b4e2a93bb2c3ddefb4dcb292c4bfd46ccc464
tree2afba2a3d0fb35552764650722334a1a8adba42a
parent1552b11ba15e93ee550c4672aa5acd8c1c5e8a82
PCI: vmd: Create IRQ allocation helper

Move the IRQ allocation and SRCU initialization code to a new helper.  No
functional changes.

Link: https://lore.kernel.org/r/20200728194945.14126-5-jonathan.derrick@intel.com
Signed-off-by: Jon Derrick <jonathan.derrick@intel.com>
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@intel.com>
drivers/pci/controller/vmd.c