diff options
| author | Jonathan Cameron <[email protected]> | 2024-02-25 14:27:13 +0000 |
|---|---|---|
| committer | Rob Herring <[email protected]> | 2024-03-13 22:59:00 +0000 |
| commit | 2056b282ad191589e4ceb5a8fdab639b9549edc6 (patch) | |
| tree | e8f75de84d1672c360cc41da3309a609317aa208 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py | |
| parent | of: Introduce for_each_*_child_of_node_scoped() to automate of_node_put() han... (diff) | |
| download | kernel-2056b282ad191589e4ceb5a8fdab639b9549edc6.tar.gz kernel-2056b282ad191589e4ceb5a8fdab639b9549edc6.zip | |
of: unittest: Use for_each_child_of_node_scoped()
A simple example of the utility of this autocleanup approach to
handling of_node_put().
In this particular case some of the nodes needed for the test are
not available and the _available_ version would cause them to be
skipped resulting in a test failure.
Signed-off-by: Jonathan Cameron <[email protected]>
Reviewed-by: Rob Herring <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Rob Herring <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py')
0 files changed, 0 insertions, 0 deletions
