ASoC: wm8955: Use devm_regulator_bulk_get()
authorFabio Estevam <fabio.estevam@freescale.com>
Fri, 25 Apr 2014 01:27:06 +0000 (22:27 -0300)
committerMark Brown <broonie@linaro.org>
Fri, 25 Apr 2014 11:24:26 +0000 (12:24 +0100)
commite90c7b456b58a8cd94c8b4be2740133d163c1cba
tree817d982b1688ba912e2da575cfd5503427fe8320
parentc9eaa447e77efe77b7fa4c953bd62de8297fd6c5
ASoC: wm8955: Use devm_regulator_bulk_get()

Using devm_regulator_bulk_get() can make the code cleaner and smaller as we
do not need to call regulator_bulk_free() in the error and remove paths.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
sound/soc/codecs/wm8955.c