summaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs
diff options
context:
space:
mode:
authorFabio Estevam <fabio.estevam@freescale.com>2012-09-10 18:10:08 +0200
committerMark Brown <broonie@opensource.wolfsonmicro.com>2012-09-11 05:26:02 +0200
commit57d9a477f908cd20c1b4da06fdfe864722487d8b (patch)
tree5a083bef355fb2b5879b895940f46c3c60fd0c25 /sound/soc/codecs
parentASoC: am3517evm: Remove unused cpu_dai from hw_params (diff)
downloadlinux-57d9a477f908cd20c1b4da06fdfe864722487d8b.tar.xz
linux-57d9a477f908cd20c1b4da06fdfe864722487d8b.zip
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')
-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 */