Commit 753ad46e authored by Mark Brown's avatar Mark Brown

Merge remote-tracking branch 'asoc/topic/wm8510' into asoc-next

parents 65c62837 9a58dc22
...@@ -608,10 +608,7 @@ static int wm8510_probe(struct snd_soc_codec *codec) ...@@ -608,10 +608,7 @@ static int wm8510_probe(struct snd_soc_codec *codec)
/* power down chip */ /* power down chip */
static int wm8510_remove(struct snd_soc_codec *codec) 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); wm8510_set_bias_level(codec, SND_SOC_BIAS_OFF);
kfree(wm8510);
return 0; return 0;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment