diff options
| author | Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> | 2024-08-14 18:04:05 +0300 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2024-08-14 20:21:42 +0300 |
| commit | 83c7cdeef5b22a73336eb18a59c7b4d63ec26659 (patch) | |
| tree | be40c6faaeae83c70c9975304ccbc6eae75af744 /tools/perf/scripts/python/mem-phys-addr.py | |
| parent | b31274caf3993839e2eb266fe85ff5bcfd31292b (diff) | |
| download | linux-83c7cdeef5b22a73336eb18a59c7b4d63ec26659.tar.xz | |
regulator: bd718x7: 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.
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://patch.msgid.link/20240814-cleanup-h-of-node-put-regulator-v1-1-87151088b883@linaro.org
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions
