Re: [PATCH] ASoC: sun4i-codec: Use new devm clk and reset APIs
From: Mark Brown
Date: Tue Jan 07 2025 - 18:49:29 EST
On Wed, Dec 11, 2024 at 11:22:05PM +0100, Bence Csókás wrote:
> 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().
This breaks an allmodconfig build:
/build/stage/linux/sound/soc/sunxi/sun4i-codec.c: In function ‘sun4i_codec_remove’:
/build/stage/linux/sound/soc/sunxi/sun4i-codec.c:2380:29: error: unused variable ‘scodec’ [-Werror=unused-variable]
2380 | struct sun4i_codec *scodec = snd_soc_card_get_drvdata(card);
| ^~~~~~
Attachment:
signature.asc
Description: PGP signature