]> www.infradead.org Git - linux.git/commit
soundwire: intel_ace2x: simplify with cleanup.h
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Wed, 3 Jul 2024 10:15:59 +0000 (12:15 +0200)
committerVinod Koul <vkoul@kernel.org>
Tue, 9 Jul 2024 13:42:49 +0000 (19:12 +0530)
commit3dce65898e0911aa76a0a321540b78e9218b9a6a
tree139047fb5de919b6145b121a1543d235803b7d20
parent13814ed162687be08e34762040cfc2e58831219d
soundwire: intel_ace2x: simplify with cleanup.h

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/20240703-soundwire-cleanup-h-v1-7-24fa0dbb948f@linaro.org
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/soundwire/intel_ace2x.c