summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorJavier Carrasco <javier.carrasco.cruz@gmail.com>2024-04-23 11:27:44 +0300
committerViresh Kumar <viresh.kumar@linaro.org>2024-04-23 12:29:56 +0300
commit68090fdaac8a3d4bbc681d562de2ef5160976559 (patch)
treed5bf314457fea8fd1f8ce7f1b20d796b622f8c0c /tools/perf/scripts/python/exported-sql-viewer.py
parentd769eaef2a8d668035e34a19e3282b4222d6e782 (diff)
downloadlinux-68090fdaac8a3d4bbc681d562de2ef5160976559.tar.xz
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/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions