Re: [PATCH 01/16] irqdomain: Use an accessor for the of_node field

2015-10-12 Thread Marc Zyngier
On 12/10/15 07:04, Hanjun Guo wrote: > On 10/07/2015 01:36 AM, Marc Zyngier wrote: >> The struct irq_domain contains a "struct device_node *" field >> (of_node) that is almost the only link between the irqdomain >> and the device tree infrastructure. >> >> In order to prepare for the removal of tha

Re: [PATCH 01/16] irqdomain: Use an accessor for the of_node field

2015-10-11 Thread Hanjun Guo
On 10/07/2015 01:36 AM, Marc Zyngier wrote: The struct irq_domain contains a "struct device_node *" field (of_node) that is almost the only link between the irqdomain and the device tree infrastructure. In order to prepare for the removal of that field, convert all users to use an accessor. Sig

Re: [PATCH 01/16] irqdomain: Use an accessor for the of_node field

2015-10-09 Thread Marc Zyngier
On 09/10/15 15:24, Thomas Gleixner wrote: > On Tue, 6 Oct 2015, Marc Zyngier wrote: >> index d3ca792..f644fdb 100644 >> --- a/include/linux/irqdomain.h >> +++ b/include/linux/irqdomain.h >> @@ -161,6 +161,11 @@ enum { >> IRQ_DOMAIN_FLAG_NONCORE = (1 << 16), >> }; >> >> +static inlin

Re: [PATCH 01/16] irqdomain: Use an accessor for the of_node field

2015-10-09 Thread Thomas Gleixner
On Tue, 6 Oct 2015, Marc Zyngier wrote: > index d3ca792..f644fdb 100644 > --- a/include/linux/irqdomain.h > +++ b/include/linux/irqdomain.h > @@ -161,6 +161,11 @@ enum { > IRQ_DOMAIN_FLAG_NONCORE = (1 << 16), > }; > > +static inline struct device_node *irq_domain_get_of_node(struct

[PATCH 01/16] irqdomain: Use an accessor for the of_node field

2015-10-06 Thread Marc Zyngier
The struct irq_domain contains a "struct device_node *" field (of_node) that is almost the only link between the irqdomain and the device tree infrastructure. In order to prepare for the removal of that field, convert all users to use an accessor. Signed-off-by: Marc Zyngier --- arch/arm/mach-o