irqdomain: Convert irqdomain-%3Eof_node to fwnode
authorMarc Zyngier <[email protected]>
Tue, 13 Oct 2015 11:51:30 +0000 (12:51 +0100)
committerThomas Gleixner <[email protected]>
Tue, 13 Oct 2015 17:01:23 +0000 (19:01 +0200)
commitf110711a6053f08731858aa91420104094188973
treedb68da1611ef83a61c876496b564a57ab98347c2
parent5d4c9bc7767bc86eb9a0e66df783e3fbada7dc97
irqdomain: Convert irqdomain-%3Eof_node to fwnode

Now that we have everyone accessing the of_node field via the
irq_domain_get_of_node accessor, it is pretty easy to swap it
for a pointer to a fwnode_handle.

This translates into a few limited changes in __irq_domain_add,
and an updated irq_domain_get_of_node.

Signed-off-by: Marc Zyngier <[email protected]>
Reviewed-and-tested-by: Hanjun Guo <[email protected]>
Tested-by: Lorenzo Pieralisi <[email protected]>
Cc: <[email protected]>
Cc: Tomasz Nowicki <[email protected]>
Cc: Suravee Suthikulpanit <[email protected]>
Cc: Graeme Gregory <[email protected]>
Cc: Jake Oshins <[email protected]>
Cc: Jiang Liu <[email protected]>
Cc: Jason Cooper <[email protected]>
Cc: Rafael J. Wysocki <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Thomas Gleixner <[email protected]>
include/linux/irqdomain.h
kernel/irq/irqdomain.c