summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2012-12-02 13:35:20 +0900
committerMark Brown <broonie@opensource.wolfsonmicro.com>2012-12-02 13:35:20 +0900
commit2dfbba6694af5ea3b4bf7aa77266bd8fbb8e8194 (patch)
tree15bafc9d478e04fc23c27740e9499afef29b965b
parentf5fa83cc621ae81f81ebd5a19c89649bd76b6eaa (diff)
parent9a58dc2268e7a2009e569c2e78e0feb72d6674e4 (diff)
Merge remote-tracking branch 'asoc/topic/wm8510' into asoc-next
-rw-r--r--sound/soc/codecs/wm8510.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/sound/soc/codecs/wm8510.c b/sound/soc/codecs/wm8510.c
index c12a54e72e89..923e7e1f6704 100644
--- a/sound/soc/codecs/wm8510.c
+++ b/sound/soc/codecs/wm8510.c
@@ -608,10 +608,7 @@ static int wm8510_probe(struct snd_soc_codec *codec)
/* power down chip */
static int wm8510_remove(struct snd_soc_codec *codec)
{
- struct wm8510_priv *wm8510 = snd_soc_codec_get_drvdata(codec);
-
wm8510_set_bias_level(codec, SND_SOC_BIAS_OFF);
- kfree(wm8510);
return 0;
}