diff options
author | Rob Herring <robh@kernel.org> | 2018-08-27 12:21:39 -0500 |
---|---|---|
committer | Rob Herring <robh@kernel.org> | 2018-09-28 14:25:58 -0500 |
commit | 5e5abae858b5d3d060a441cc5da0859cd8cb2c82 (patch) | |
tree | 742f3dcce5e3d8395dad08b59e4de89c9d85ea45 /arch/powerpc/platforms | |
parent | 1f0fe1f67cef6fb4029e8a0af90438e8280c80f1 (diff) |
openrisc: use for_each_of_cpu_node iterator
Use the for_each_of_cpu_node iterator to iterate over cpu nodes. This
has the side effect of defaulting to iterating using "cpu" node names in
preference to the deprecated (for FDT) device_type == "cpu".
This also fixes a leaked reference for cpus node.
Cc: Jonas Bonn <jonas@southpole.se>
Cc: Stefan Kristiansson <stefan.kristiansson@saunalahti.fi>
Cc: openrisc@lists.librecores.org
Acked-by: Stafford Horne <shorne@gmail.com>
Signed-off-by: Rob Herring <robh@kernel.org>
Diffstat (limited to 'arch/powerpc/platforms')
0 files changed, 0 insertions, 0 deletions