summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/call-graph-from-postgresql.py
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>2024-08-14 17:04:06 +0200
committerMark Brown <broonie@kernel.org>2024-08-14 18:21:43 +0100
commitf372c262d4cfe31f0b67e8ae1a8ec9bf7c52d57b (patch)
treeb05c0ec508d3692cea8ad795d1fe8f0597c69918 /tools/perf/scripts/python/call-graph-from-postgresql.py
parent83c7cdeef5b22a73336eb18a59c7b4d63ec26659 (diff)
regulator: bd96801: Use scoped device node handling to simplify error paths
Obtain the device node reference with scoped/cleanup.h and use scoped for_each_child_of_node_scoped() to reduce error handling and make the code a bit simpler. Add also brackets {} over outer for loop for code readability. Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Link: https://patch.msgid.link/20240814-cleanup-h-of-node-put-regulator-v1-2-87151088b883@linaro.org Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions