diff options
author | Rob Herring <[email protected]> | 2018-08-27 13:41:31 -0500 |
---|---|---|
committer | Rob Herring <[email protected]> | 2018-09-28 14:25:58 -0500 |
commit | 38959a091e4a79efcd693a19cf589997c6b39d3b (patch) | |
tree | 91cd75ca24021fc30c0b460400c3235eee2e526b /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf | |
parent | 84dbc69a2ff308f2dedf03c82dbbe194b6df88b2 (diff) |
powerpc: 8xx: get cpu node with of_get_cpu_node
"device_type" use is deprecated for FDT though it has continued to be used
for nodes like cpu nodes. Use of_get_cpu_node() instead which works using
node names by default. This will allow the eventually removal of cpu
device_type properties.
Also, fix a leaked reference and add a missing of_node_put.
Cc: Vitaly Bordug <[email protected]>
Cc: Benjamin Herrenschmidt <[email protected]>
Cc: Paul Mackerras <[email protected]>
Cc: Michael Ellerman <[email protected]>
Cc: [email protected]
Signed-off-by: Rob Herring <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf')
0 files changed, 0 insertions, 0 deletions