summaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2012-06-11 18:15:50 +0800
committerMark Brown <broonie@opensource.wolfsonmicro.com>2012-06-11 20:20:22 +0800
commit90ba6859ce914feff3632eeb7227b9f99c030ca9 (patch)
tree02bc81d653f2ba51928be065dbcb1a5d3a31f193 /sound
parentc1b88ee2bbb82c56ac24c70850004de9a43915d5 (diff)
downloadblackbird-obmc-linux-90ba6859ce914feff3632eeb7227b9f99c030ca9.tar.gz
blackbird-obmc-linux-90ba6859ce914feff3632eeb7227b9f99c030ca9.zip
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.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sound/soc/codecs/wm8996.c b/sound/soc/codecs/wm8996.c
index 8af422e38fd0..379bd1e49432 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;
}
OpenPOWER on IntegriCloud