summaryrefslogtreecommitdiff
path: root/sound/soc/codecs/mc13783.c
diff options
context:
space:
mode:
authorFabio Estevam <fabio.estevam@freescale.com>2012-09-10 13:10:08 -0300
committerMark Brown <broonie@opensource.wolfsonmicro.com>2012-09-11 11:26:02 +0800
commit57d9a477f908cd20c1b4da06fdfe864722487d8b (patch)
tree5a083bef355fb2b5879b895940f46c3c60fd0c25 /sound/soc/codecs/mc13783.c
parent1867b2cdd8b3ce377f7c415ee10ce0cf1e581316 (diff)
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 <fabio.estevam@freescale.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc/codecs/mc13783.c')
-rw-r--r--sound/soc/codecs/mc13783.c2
1 files changed, 0 insertions, 2 deletions
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 */