diff options
author | Wei Yongjun <yongjun_wei@trendmicro.com.cn> | 2013-09-27 16:15:54 +0800 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2013-09-27 10:47:14 +0100 |
commit | 88b5bdfda886e9774b03f02ffe4295be124124f6 (patch) | |
tree | d12703b92f69dacdc169d5f4a22a548bf1d68be5 /sound | |
parent | 4a10c2ac2f368583138b774ca41fac4207911983 (diff) | |
download | linux-88b5bdfda886e9774b03f02ffe4295be124124f6.tar.gz linux-88b5bdfda886e9774b03f02ffe4295be124124f6.tar.bz2 linux-88b5bdfda886e9774b03f02ffe4295be124124f6.zip |
ASoC: wm8993: drop regulator_bulk_free of devm_ allocated data
It's not necessary to free regulator consumers allocated with
devm_regulator_bulk_get.
Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'sound')
-rw-r--r-- | sound/soc/codecs/wm8993.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sound/soc/codecs/wm8993.c b/sound/soc/codecs/wm8993.c index 433d59a0f3ef..2ee23a39622c 100644 --- a/sound/soc/codecs/wm8993.c +++ b/sound/soc/codecs/wm8993.c @@ -1562,7 +1562,6 @@ static int wm8993_remove(struct snd_soc_codec *codec) struct wm8993_priv *wm8993 = snd_soc_codec_get_drvdata(codec); wm8993_set_bias_level(codec, SND_SOC_BIAS_OFF); - regulator_bulk_free(ARRAY_SIZE(wm8993->supplies), wm8993->supplies); return 0; } |