]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
ASoC: cs-amp-lib: Use __free(kfree) instead of manual freeing
authorRichard Fitzgerald <rf@opensource.cirrus.com>
Thu, 27 Nov 2025 15:58:17 +0000 (15:58 +0000)
committerMark Brown <broonie@kernel.org>
Thu, 27 Nov 2025 16:36:36 +0000 (16:36 +0000)
commit6797540c8b76dd847466b9a8d6e635e6a2ac95d3
tree48102c7d0ee675727586a9330da00b240752dd8c
parentc45d5d9803a4fb7d3e7f590094b7a2abcfe74ef6
ASoC: cs-amp-lib: Use __free(kfree) instead of manual freeing

Use the __free(kfree) cleanup to replace instances of manually
calling kfree(). Also make some code path simplifications that this
allows.

Signed-off-by: Richard Fitzgerald <rf@opensource.cirrus.com>
Link: https://patch.msgid.link/20251127155817.1374079-1-rf@opensource.cirrus.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/cs-amp-lib.c