提交 ee6b42ee 编写于 作者: L Lars-Peter Clausen 提交者: Mark Brown

ASoC: da732x: Remove unused codec field form da732x_priv struct

The field is initialized in the probe callback, but never used again. So it
can be removed.
Signed-off-by: NLars-Peter Clausen <lars@metafoo.de>
Signed-off-by: NMark Brown <broonie@linaro.org>
上级 f66a91ff
...@@ -35,7 +35,6 @@ ...@@ -35,7 +35,6 @@
struct da732x_priv { struct da732x_priv {
struct regmap *regmap; struct regmap *regmap;
struct snd_soc_codec *codec;
unsigned int sysclk; unsigned int sysclk;
bool pll_en; bool pll_en;
...@@ -1512,8 +1511,6 @@ static int da732x_probe(struct snd_soc_codec *codec) ...@@ -1512,8 +1511,6 @@ static int da732x_probe(struct snd_soc_codec *codec)
{ {
struct da732x_priv *da732x = snd_soc_codec_get_drvdata(codec); struct da732x_priv *da732x = snd_soc_codec_get_drvdata(codec);
da732x->codec = codec;
da732x_set_bias_level(codec, SND_SOC_BIAS_STANDBY); da732x_set_bias_level(codec, SND_SOC_BIAS_STANDBY);
return 0; return 0;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册