diff options
author | Fabio Estevam <fabio.estevam@freescale.com> | 2012-09-10 20:10:08 +0400 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-09-11 07:26:02 +0400 |
commit | 57d9a477f908cd20c1b4da06fdfe864722487d8b (patch) | |
tree | 5a083bef355fb2b5879b895940f46c3c60fd0c25 /sound/soc/codecs/mc13783.c | |
parent | 1867b2cdd8b3ce377f7c415ee10ce0cf1e581316 (diff) | |
download | linux-57d9a477f908cd20c1b4da06fdfe864722487d8b.tar.xz |
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.c | 2 |
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 */ |