diff options
author | Rob Herring (Arm) <robh@kernel.org> | 2024-07-31 13:12:40 -0600 |
---|---|---|
committer | Viresh Kumar <viresh.kumar@linaro.org> | 2024-08-07 12:11:45 +0530 |
commit | 872cc94c7e3d874373f56b035f998631c6b26d22 (patch) | |
tree | 56cf435fe3b4fb308a27b92e7464a27f932a8a6c /tools/perf/scripts/python/task-analyzer.py | |
parent | 8400291e289ee6b2bf9779ff1c83a291501f017b (diff) |
cpufreq: Use of_property_present()
Use of_property_present() to test for property presence rather than
of_(find|get)_property(). This is part of a larger effort to remove
callers of of_find_property() and similar functions. of_find_property()
leaks the DT struct property and data pointers which is a problem for
dynamically allocated nodes which may be freed.
Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
Acked-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions