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