diff options
author | Lars-Peter Clausen <lars@metafoo.de> | 2015-07-13 19:40:52 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2015-07-14 11:13:19 +0200 |
commit | f6d1a814844efc4b326538bd35a8daecd37921ed (patch) | |
tree | 80ef5bd5a4527b0bfb24c573d02ef499c924f9e5 /sound/soc/codecs | |
parent | Linux 4.2-rc1 (diff) | |
download | linux-f6d1a814844efc4b326538bd35a8daecd37921ed.tar.xz linux-f6d1a814844efc4b326538bd35a8daecd37921ed.zip |
ASoC: max98925: Remove control_data initialization
The control_data field of the snd_soc_codec struct is no longer used by
ASoC drivers using standard regmap IO.
There is no need to initialize the field to point to the drivers regmap
struct, so drop that.
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/codecs')
-rw-r--r-- | sound/soc/codecs/max98925.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sound/soc/codecs/max98925.c b/sound/soc/codecs/max98925.c index aad664225dc3..eddf8bc07314 100644 --- a/sound/soc/codecs/max98925.c +++ b/sound/soc/codecs/max98925.c @@ -523,7 +523,6 @@ static int max98925_probe(struct snd_soc_codec *codec) struct max98925_priv *max98925 = snd_soc_codec_get_drvdata(codec); max98925->codec = codec; - codec->control_data = max98925->regmap; regmap_write(max98925->regmap, MAX98925_GLOBAL_ENABLE, 0x00); /* It's not the default but we need to set DAI_DLY */ regmap_write(max98925->regmap, |