diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-06-11 18:15:50 +0800 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-06-11 20:20:22 +0800 |
commit | 90ba6859ce914feff3632eeb7227b9f99c030ca9 (patch) | |
tree | 02bc81d653f2ba51928be065dbcb1a5d3a31f193 /sound | |
parent | c1b88ee2bbb82c56ac24c70850004de9a43915d5 (diff) | |
download | op-kernel-dev-90ba6859ce914feff3632eeb7227b9f99c030ca9.zip op-kernel-dev-90ba6859ce914feff3632eeb7227b9f99c030ca9.tar.gz |
ASoC: wm8996: Remove spurious regulator_bulk_free()
We're using demv_regulator_bulk_get() so don't need to manually free and
this is in the CODEC driver not the I2C driver anyway.
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound')
-rw-r--r-- | sound/soc/codecs/wm8996.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sound/soc/codecs/wm8996.c b/sound/soc/codecs/wm8996.c index 8af422e..379bd1e 100644 --- a/sound/soc/codecs/wm8996.c +++ b/sound/soc/codecs/wm8996.c @@ -3051,7 +3051,6 @@ static int wm8996_remove(struct snd_soc_codec *codec) for (i = 0; i < ARRAY_SIZE(wm8996->supplies); i++) regulator_unregister_notifier(wm8996->supplies[i].consumer, &wm8996->disable_nb[i]); - regulator_bulk_free(ARRAY_SIZE(wm8996->supplies), wm8996->supplies); return 0; } |