diff options
author | Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> | 2024-08-22 18:12:31 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2024-08-22 17:52:31 +0100 |
commit | b8195520e8b486a0922b4baf511a2fd19bbfc25f (patch) | |
tree | 604d0cf2762a67117cf4e0ebf3cdab1358d77394 /lib/parser.c | |
parent | 5a38089fe4438a587291ccf932178ed8cdbdde28 (diff) |
regulator: s2mps11: use scoped memory allocation to simplify probe
Allocate the memory with scoped/cleanup.h to reduce error handling (less
error paths) and make the code a bit simpler.
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://patch.msgid.link/20240822161231.106744-1-krzysztof.kozlowski@linaro.org
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'lib/parser.c')
0 files changed, 0 insertions, 0 deletions