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

Kuninori Morimoto kuninori.morimoto.gx at renesas.com
Fri Apr 6 07:41:09 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>
Acked-by: Charles Keepax <ckeepax at opensource.cirrus.com>
---
v1 -> v2

 - added Charles's Acked-by

 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