ASoC: Revert "ASoC: mc13783: Provide codec->control_data"
authorFabio Estevam <fabio.estevam@freescale.com>
Mon, 10 Sep 2012 16:10:08 +0000 (13:10 -0300)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Tue, 11 Sep 2012 03:26:02 +0000 (11:26 +0800)
Since commit 98d3088e5 (SoC: core: Fix check before defaulting to regmap)
, it is not necessary to provide codec->control_data anymore.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/codecs/mc13783.c

index bbfa5535cdd3e6bd6153035ed1f32a958c9c5168..d89e343ff10853ca82e6cafd951242b7dcac6428 100644 (file)
@@ -585,8 +585,6 @@ static int mc13783_probe(struct snd_soc_codec *codec)
 {
        struct mc13783_priv *priv = snd_soc_codec_get_drvdata(codec);
 
-       codec->control_data = priv->mc13xxx;
-
        mc13xxx_lock(priv->mc13xxx);
 
        /* these are the reset values */