irqdomain: Introduce is_fwnode_irqchip helper
authorSuravee Suthikulpanit <Suravee.Suthikulpanit@amd.com>
Thu, 10 Dec 2015 16:55:28 +0000 (08:55 -0800)
committerMarc Zyngier <marc.zyngier@arm.com>
Mon, 21 Dec 2015 13:49:49 +0000 (13:49 +0000)
commit75aba7b0e9ac416ca53c0c97680b8e9aedf09284
treee7a35ae62453184a1ed1fd43f329ea3379e09563
parent471036b2b895789c2305428fd879006468e4a758
irqdomain: Introduce is_fwnode_irqchip helper

Since there will be several places checking if fwnode.type
is equal FWNODE_IRQCHIP, this patch adds a convenient function
for this purpose.

Acked-by: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Suravee Suthikulpanit <Suravee.Suthikulpanit@amd.com>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
drivers/irqchip/irq-gic.c
include/linux/irqdomain.h
kernel/irq/irqdomain.c