PCI/MSI: Rework pci_msi_domain_calc_hwirq()
authorThomas Gleixner <tglx@linutronix.de>
Wed, 26 Aug 2020 11:16:45 +0000 (13:16 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Wed, 16 Sep 2020 14:52:34 +0000 (16:52 +0200)
commitdfb9eb7cf6cd0c0b0f2a1111fcc47b0a297b097d
tree05ce8a7fa947d7bfd943c09a9f77b1ec36e4e383
parent0f5cbdaf203e201f151c2e44a49f6165a7d2c2f9
PCI/MSI: Rework pci_msi_domain_calc_hwirq()

Retrieve the PCI device from the msi descriptor instead of doing so at the
call sites.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Acked-by: Bjorn Helgaas <bhelgaas@google.com>
Acked-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20200826112332.352583299@linutronix.de
arch/x86/kernel/apic/msi.c
drivers/pci/msi.c
include/linux/msi.h