diff options
| author | Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> | 2024-07-07 13:48:23 +0200 |
|---|---|---|
| committer | Lee Jones <lee@kernel.org> | 2024-08-30 09:40:13 +0100 |
| commit | 82f898f47112bc7b787cb9ce8803c4e2f9f60c89 (patch) | |
| tree | f74b0175d7eb781233cff1b9ffc75559d72a2026 /scripts/rustdoc_test_gen.rs | |
| parent | 4194783812687c5ee51e8f06ec7eb008afdc6764 (diff) | |
mfd: syscon: 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-2-krzysztof.kozlowski@linaro.org
Signed-off-by: Lee Jones <lee@kernel.org>
Diffstat (limited to 'scripts/rustdoc_test_gen.rs')
0 files changed, 0 insertions, 0 deletions
