diff options
author | Sudeep Holla <[email protected]> | 2017-07-24 14:55:13 +0100 |
---|---|---|
committer | Rob Herring <[email protected]> | 2017-08-21 12:19:57 -0500 |
commit | 7467c9d9598993d8531b2f76c090a5743000612b (patch) | |
tree | f7c953f576ad60b4554c29826a58f73f2ea62ac9 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | e906e1e2e5b030a378d271bccafad71176a7270f (diff) |
of: return of_get_cpu_node from of_cpu_device_node_get if CPUs are not registered
Instead of the callsites choosing between of_cpu_device_node_get if the
CPUs are registered as of_node is populated by then and of_get_cpu_node
when the CPUs are not yet registered as CPU of_nodes are not yet stashed
thereby needing to parse the device tree, we can call of_get_cpu_node
in case the CPUs are not yet registered.
This will allow to use of_cpu_device_node_get anywhere hiding the
details from the caller.
Cc: Rob Herring <[email protected]>
Cc: Frank Rowand <[email protected]>
Signed-off-by: Sudeep Holla <[email protected]>
Signed-off-by: Rob Herring <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions