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