ASoC: wm8962: Use devm_regulator_bulk_get
authorSachin Kamat <sachin.kamat@linaro.org>
Mon, 26 Nov 2012 11:49:35 +0000 (17:19 +0530)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 28 Nov 2012 17:39:13 +0000 (17:39 +0000)
commit92437cbb1bbcc4fd04a00d3d734ee7006e183a03
tree2749ec61ae161db5884dd4607a8ae94cf79e6316
parent9489e9dcae718d5fde988e4a684a0f55b5f94d17
ASoC: wm8962: 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/wm8962.c