[alsa-devel] [PATCH][RFC] ASoC: wm8350: remove snd_soc_codec

Kuninori Morimoto kuninori.morimoto.gx at renesas.com
Wed Mar 28 04:22:07 CEST 2018


From: Kuninori Morimoto <kuninori.morimoto.gx at renesas.com>

codec is replace to component.
It seems no-one is using it, Let's remove it.

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx at renesas.com>
---
Hi Mark, Liam

I think no-one is using snd_soc_codec, but please double-check it.
I added [RFC] on this patch

 include/linux/mfd/wm8350/audio.h | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/include/linux/mfd/wm8350/audio.h b/include/linux/mfd/wm8350/audio.h
index bd581c6..0bc41c4c 100644
--- a/include/linux/mfd/wm8350/audio.h
+++ b/include/linux/mfd/wm8350/audio.h
@@ -617,11 +617,8 @@ struct wm8350_audio_platform_data {
 	u32 codec_current_charge:2;	/* codec current @ vmid charge */
 };
 
-struct snd_soc_codec;
-
 struct wm8350_codec {
 	struct platform_device *pdev;
-	struct snd_soc_codec *codec;
 	struct wm8350_audio_platform_data *platform_data;
 };
 
-- 
1.9.1



More information about the Alsa-devel mailing list