diff options
author | Lars-Peter Clausen <lars@metafoo.de> | 2014-09-09 14:42:44 -0400 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2014-09-09 16:08:46 -0400 |
commit | ee6b42ee21b16aa322758fdab0d57082761b09fd (patch) | |
tree | e1b780ab6202563341d525e82e9cfef03f67c6ad /sound | |
parent | f66a91ff8e83e95c822691270d883cbcb3244302 (diff) |
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: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'sound')
-rw-r--r-- | sound/soc/codecs/da732x.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/sound/soc/codecs/da732x.c b/sound/soc/codecs/da732x.c index edcbfeafc8cb..c28cf339f066 100644 --- a/sound/soc/codecs/da732x.c +++ b/sound/soc/codecs/da732x.c | |||
@@ -35,7 +35,6 @@ | |||
35 | 35 | ||
36 | struct da732x_priv { | 36 | struct da732x_priv { |
37 | struct regmap *regmap; | 37 | struct regmap *regmap; |
38 | struct snd_soc_codec *codec; | ||
39 | 38 | ||
40 | unsigned int sysclk; | 39 | unsigned int sysclk; |
41 | bool pll_en; | 40 | bool pll_en; |
@@ -1512,8 +1511,6 @@ static int da732x_probe(struct snd_soc_codec *codec) | |||
1512 | { | 1511 | { |
1513 | struct da732x_priv *da732x = snd_soc_codec_get_drvdata(codec); | 1512 | struct da732x_priv *da732x = snd_soc_codec_get_drvdata(codec); |
1514 | 1513 | ||
1515 | da732x->codec = codec; | ||
1516 | |||
1517 | da732x_set_bias_level(codec, SND_SOC_BIAS_STANDBY); | 1514 | da732x_set_bias_level(codec, SND_SOC_BIAS_STANDBY); |
1518 | 1515 | ||
1519 | return 0; | 1516 | return 0; |