]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
ASoC: cs48l32: Use PTR_ERR_OR_ZERO() to simplify code
authorXichao Zhao <zhao.xichao@vivo.com>
Tue, 5 Aug 2025 09:04:31 +0000 (17:04 +0800)
committerMark Brown <broonie@kernel.org>
Sun, 10 Aug 2025 20:09:16 +0000 (21:09 +0100)
commit3059067fd3378a5454e7928c08d20bf3ef186760
treec6647a8c51cc077f3cc77df969f1b3218ed06b84
parent2399f3bd31595adfbc9bf38d6699b0a2ff36aee0
ASoC: cs48l32: Use PTR_ERR_OR_ZERO() to simplify code

Use the standard error pointer macro to shorten the code and simplify.

Signed-off-by: Xichao Zhao <zhao.xichao@vivo.com>
Link: https://patch.msgid.link/20250805090431.117114-1-zhao.xichao@vivo.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/cs48l32-tables.c