]> www.infradead.org Git - users/jedix/linux-maple.git/commit
soundwire: amd: simplify with cleanup.h
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Wed, 3 Jul 2024 10:15:54 +0000 (12:15 +0200)
committerVinod Koul <vkoul@kernel.org>
Tue, 9 Jul 2024 13:42:48 +0000 (19:12 +0530)
commit02611eeec5893c17ad85769007ecfb5cbe7a5987
treed6f3aafbb7298af9166060667a114c9c9b2cfeb8
parent89cc1354d388ba8c8f8b41095736202a83591497
soundwire: amd: 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-2-24fa0dbb948f@linaro.org
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/soundwire/amd_manager.c