genirq: Introduce helper irq_desc_get_irq()
authorJiang Liu <jiang.liu@linux.intel.com>
Thu, 4 Jun 2015 04:13:26 +0000 (12:13 +0800)
committerThomas Gleixner <tglx@linutronix.de>
Fri, 26 Jun 2015 19:28:32 +0000 (21:28 +0200)
commit304adf8a8fff972f633bf52b3d160682d3f3d5d2
treef57d511e52548dc5a385cb4ad3e61ccc6be4e4fb
parent08dad486d98e55d49b760cbaa20b71f35566d4e6
genirq: Introduce helper irq_desc_get_irq()

Introduce helper irq_desc_get_irq() to retrieve the irq number from
the irq descriptor.

Signed-off-by: Jiang Liu <jiang.liu@linux.intel.com>
Cc: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Cc: Tony Luck <tony.luck@intel.com>
Cc: Bjorn Helgaas <bhelgaas@google.com>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Randy Dunlap <rdunlap@infradead.org>
Cc: Yinghai Lu <yinghai@kernel.org>
Cc: Borislav Petkov <bp@alien8.de>
Cc: Marc Zyngier <marc.zyngier@arm.com>
Link: http://lkml.kernel.org/r/1433391238-19471-17-git-send-email-jiang.liu@linux.intel.com
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
include/linux/irqdesc.h