diff options
author | Javier Carrasco <javier.carrasco.cruz@gmail.com> | 2024-05-23 23:25:00 +0200 |
---|---|---|
committer | Viresh Kumar <viresh.kumar@linaro.org> | 2024-05-28 11:39:06 +0530 |
commit | 9e697efe5f99ed793ec1d23a1c3467d7dc5863db (patch) | |
tree | 23b8acb544003d30f86f9fa2b76f4c15356aac25 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | d01c84b97f19f1137211e90b0a910289a560019e (diff) |
cpufreq: qcom-nvmem: eliminate uses of of_node_put()
Make use of the __free() macro to automate memory deallocation when
the existing device nodes get out of scope, removing the need for
of_node_put() and therefore increasing code safety if more error paths
are added to the driver, which could miss the required of_node_put()
as it already occurred with commit '57f2f8b4aa0c ("cpufreq: qcom:
Refactor the driver to make it easier to extend")'.
Signed-off-by: Javier Carrasco <javier.carrasco.cruz@gmail.com>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions