ASoC: wm8400: Use devm_regulator_bulk_get
authorSachin Kamat <sachin.kamat@linaro.org>
Mon, 26 Nov 2012 11:49:36 +0000 (17:19 +0530)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 28 Nov 2012 17:39:59 +0000 (17:39 +0000)
commit95a5b240e40fc7ab226e59fb8298a2ca4faf7657
tree0b287313ff025d632d252655a34f6ba993ef2427
parent9489e9dcae718d5fde988e4a684a0f55b5f94d17
ASoC: wm8400: Use devm_regulator_bulk_get

devm_regulator_bulk_get() is device managed and makes error
handling and code cleanup simpler.

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/codecs/wm8400.c