genirq: Simplify irq_data_to_desc()
authorThomas Gleixner <tglx@linutronix.de>
Wed, 16 Sep 2015 12:37:12 +0000 (14:37 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Wed, 16 Sep 2015 13:43:11 +0000 (15:43 +0200)
commit755d119a6204974b2005a98549a48a75a7f5010b
tree0c2ee8c6758b2331a8c4bae9d908b7c23bc627a3
parent123236ccacc933daac3b39c5eb1f0011c70d41d8
genirq: Simplify irq_data_to_desc()

Avoid the lookup of irq_desc and use the same mechanism for
hierarchical and flat irqdomains.

Based-on-a-patch-from: Jiang Liu <jiang.liu@linux.intel.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
include/linux/irqdesc.h