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>
This commit is contained in:
Mark Brown 2012-06-11 18:15:50 +08:00
parent c1b88ee2bb
commit 90ba6859ce
1 changed files with 0 additions and 1 deletions

View File

@ -3051,7 +3051,6 @@ static int wm8996_remove(struct snd_soc_codec *codec)
for (i = 0; i < ARRAY_SIZE(wm8996->supplies); i++) for (i = 0; i < ARRAY_SIZE(wm8996->supplies); i++)
regulator_unregister_notifier(wm8996->supplies[i].consumer, regulator_unregister_notifier(wm8996->supplies[i].consumer,
&wm8996->disable_nb[i]); &wm8996->disable_nb[i]);
regulator_bulk_free(ARRAY_SIZE(wm8996->supplies), wm8996->supplies);
return 0; return 0;
} }