diff options
author | 2024-04-23 10:27:44 +0200 | |
---|---|---|
committer | 2024-04-23 14:59:56 +0530 | |
commit | 68090fdaac8a3d4bbc681d562de2ef5160976559 (patch) | |
tree | d5bf314457fea8fd1f8ce7f1b20d796b622f8c0c /tools/perf/scripts/python/export-to-postgresql.py | |
parent | cpufreq: ti: Implement scope-based cleanup in ti_cpufreq_match_node() (diff) | |
download | wireguard-linux-68090fdaac8a3d4bbc681d562de2ef5160976559.tar.xz wireguard-linux-68090fdaac8a3d4bbc681d562de2ef5160976559.zip |
cpufreq: dt: eliminate uses of of_node_put()
Make use of the __free() cleanup handler to automatically free nodes
when they get out of scope.
Only find_supply_name() is affected, and the new mechanism removes the
need for a 'goto' and the 'name' local variable.
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-postgresql.py')
0 files changed, 0 insertions, 0 deletions