From: Fabio Estevam Date: Mon, 10 Sep 2012 16:10:08 +0000 (-0300) Subject: ASoC: Revert "ASoC: mc13783: Provide codec->control_data" X-Git-Tag: MMI-PSA29.97-13-9~15510^2~52^2~106 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=57d9a477f908cd20c1b4da06fdfe864722487d8b;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git ASoC: Revert "ASoC: mc13783: Provide codec->control_data" 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 Signed-off-by: Mark Brown --- diff --git a/sound/soc/codecs/mc13783.c b/sound/soc/codecs/mc13783.c index bbfa5535cdd3..d89e343ff108 100644 --- a/sound/soc/codecs/mc13783.c +++ b/sound/soc/codecs/mc13783.c @@ -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 */