]> www.infradead.org Git - nvme.git/commit
soundwire: cadence: simplify with cleanup.h
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Wed, 3 Jul 2024 10:16:00 +0000 (12:16 +0200)
committerVinod Koul <vkoul@kernel.org>
Tue, 9 Jul 2024 13:42:49 +0000 (19:12 +0530)
commitb72d4af98cae2f74dc8061befcc3c0c2a174894f
tree49199a37eb148483aeb75c445f864bfd3787abdf
parent3dce65898e0911aa76a0a321540b78e9218b9a6a
soundwire: cadence: 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-8-24fa0dbb948f@linaro.org
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/soundwire/cadence_master.c