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