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: v3.7-rc2~30^2~1^2~106 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=57d9a477f908cd20c1b4da06fdfe864722487d8b;p=platform%2Fupstream%2Fkernel-adaptation-pc.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 bbfa553..d89e343 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 */