]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
ASoC: sun4i-codec: Use new devm clk and reset APIs
authorBence Csókás <csokas.bence@prolan.hu>
Tue, 14 Jan 2025 09:59:07 +0000 (10:59 +0100)
committerMark Brown <broonie@kernel.org>
Tue, 14 Jan 2025 14:31:14 +0000 (14:31 +0000)
commit65880d32e1d7eb1ef03253c454fcd8f9d41aaa09
treeb04baad3b1ac2355c92701473ba5d1777baf99c3
parent41f1d2bd4998829341cdada022ede610068a0f33
ASoC: sun4i-codec: Use new devm clk and reset APIs

Clean up error handling by using the new devm_
clock and reset functions. This should make it
easier to add new code, as we can eliminate the
"goto ladder" in probe().

Signed-off-by: Bence Csókás <csokas.bence@prolan.hu>
Link: https://patch.msgid.link/20250114095909.798559-1-csokas.bence@prolan.hu
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sunxi/sun4i-codec.c