[PATCH 0/3] ASoC: amd/sdw: Fix confusing cleanup.h
From: Krzysztof Kozlowski
Date: Wed Dec 03 2025 - 11:12:55 EST
cleanup.h coding style asks to avoid having constructors with redundant
values (= NULL). On purpose, because it is just not making the code
simpler. The constructor should be meaningful not just NULL.
If you do not agree in declaration-in-place-of-use (fair!), then do not
use cleanup.h. If you want to use cleanup.h, then please read cleanup.h
before.
Best regards,
Krzysztof
---
Krzysztof Kozlowski (3):
ASoC: amd: acp-sdw-legacy: Fix confusing cleanup.h syntax
ASoC: amd: acp-sdw-sof: Fix confusing cleanup.h syntax
ASoC: SDCA: functions: Fix confusing cleanup.h syntax
sound/soc/amd/acp/acp-sdw-legacy-mach.c | 8 ++++----
sound/soc/amd/acp/acp-sdw-sof-mach.c | 8 ++++----
sound/soc/sdca/sdca_functions.c | 28 ++++++++++++++--------------
3 files changed, 22 insertions(+), 22 deletions(-)
---
base-commit: 32ed136b4e871f08398f342aa92feffed020839b
change-id: 20251203-asoc-wrong-cleanup-h-continued-6e3d27d097df
Best regards,
--
Krzysztof Kozlowski <krzysztof.kozlowski@xxxxxxxxxxxxxxxx>