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
- References:
- [PATCH] ASoC: sun4i-codec: Use new devm clk and reset APIs
- From: Bence Csókás
- [PATCH] ASoC: sun4i-codec: Use new devm clk and reset APIs
- Prev by Date: Re: [PATCH] MAINTAINERS: add missing maintainers for Sound drivers
- Next by Date: Re: [PATCH 5/7] ALSA: firewire: Simplify with str_on_off()
- Previous by thread: Re: [PATCH] ASoC: sun4i-codec: Use new devm clk and reset APIs
- Next by thread: [PATCH v2 00/14] qrb4210-rb2: add wsa audio playback and capture support
- Index(es):