PCI: Add helpers to manage pci_dev->irq and pci_dev->irq_managed
authorJiang Liu <jiang.liu@linux.intel.com>
Wed, 10 Jun 2015 08:55:00 +0000 (16:55 +0800)
committerBjorn Helgaas <bhelgaas@google.com>
Thu, 30 Jul 2015 19:13:20 +0000 (14:13 -0500)
commit811a4e6fce09bc9239c664c6a1a53645a678c303
tree069115c57617ebe535f923e8c6b1b4c1fbe28492
parent991de2e59090e55c65a7f59a049142e3c480f7bd
PCI: Add helpers to manage pci_dev->irq and pci_dev->irq_managed

Add pci_has_managed_irq(), pci_set_managed_irq(), and
pci_reset_managed_irq() to simplify code.  No functional change.

[bhelgaas: changelog]
Signed-off-by: Jiang Liu <jiang.liu@linux.intel.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Acked-by: Thomas Gleixner <tglx@linutronix.de>
arch/x86/pci/intel_mid_pci.c
arch/x86/pci/irq.c
drivers/acpi/pci_irq.c
include/linux/pci.h