diff options
author | Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> | 2024-07-03 14:11:04 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2024-07-08 12:50:02 +0100 |
commit | 5b3cc85673bcc7bb961a3a6fa229cbc4fe0441ac (patch) | |
tree | 1c06bf54fb82002aec46616c7b836f2ae608e663 /drivers/cxl/cxlmem.h | |
parent | 1a7b846818210cbdf8994bfee1340c09342a5b3b (diff) |
ASoC: dapm: Simplify dapm_cnew_widget() with cleanup.h
Allocate the memory with scoped/cleanup.h in dapm_cnew_widget() 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/20240703-asoc-cleanup-h-v1-10-71219dfd0aef@linaro.org
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/cxl/cxlmem.h')
0 files changed, 0 insertions, 0 deletions