Thread (23 messages) 23 messages, 3 authors, 2015-07-25

[PATCH v2 1/7] genirq: irqdomain: Use an accessor for the of_node field

From: Marc Zyngier <hidden>
Date: 2015-07-24 17:06:46
Also in: linux-acpi, lkml

On 24/07/15 09:54, Hanjun Guo wrote:
On 07/23/2015 09:05 PM, Marc Zyngier wrote:
quoted
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 outside of kernel/irq/irqdomain.c to use an accessor.

Signed-off-by: Marc Zyngier <redacted>
---
  arch/c6x/platforms/megamod-pic.c              | 2 +-
  arch/mips/cavium-octeon/octeon-irq.c          | 4 ++--
  arch/powerpc/platforms/cell/axon_msi.c        | 2 +-
  arch/powerpc/platforms/cell/spider-pic.c      | 9 ++++++---
  arch/powerpc/platforms/pasemi/msi.c           | 6 ++++--
  arch/powerpc/platforms/powernv/opal-irqchip.c | 2 +-
  arch/powerpc/sysdev/ehv_pic.c                 | 3 ++-
  arch/powerpc/sysdev/fsl_msi.c                 | 2 +-
  arch/powerpc/sysdev/i8259.c                   | 3 ++-
  arch/powerpc/sysdev/ipic.c                    | 3 ++-
  arch/powerpc/sysdev/mpic.c                    | 3 ++-
  arch/powerpc/sysdev/mpic_msi.c                | 2 +-
  arch/powerpc/sysdev/qe_lib/qe_ic.c            | 3 ++-
Hmm, no arch/arm/, and there are several domain->of_node
or similar in those files, or did I miss something?
No, I was missing some more -I on my spatch command line... I pushed out
a fixup.

Thanks,

	M.
-- 
Jazz is not dead. It just smells funny...
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help