diff options
author | Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> | 2024-07-07 13:48:22 +0200 |
---|---|---|
committer | Lee Jones <lee@kernel.org> | 2024-08-30 09:40:13 +0100 |
commit | 4194783812687c5ee51e8f06ec7eb008afdc6764 (patch) | |
tree | 7fdf4d0bc930e43bcfa99de8be6556e8af7720a1 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 691277c90ceb79ef01b8da07150c814fead0a3d7 (diff) |
mfd: mt6360: Use scoped variables with memory allocators to simplify error paths
Allocate the memory with scoped/cleanup.h to reduce error handling and
make the code a bit simpler.
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20240707114823.9175-1-krzysztof.kozlowski@linaro.org
Signed-off-by: Lee Jones <lee@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions