ASoC: wm8804: Use devm_regulator_bulk_get()
authorFabio Estevam <fabio.estevam@freescale.com>
Fri, 25 Apr 2014 01:27:05 +0000 (22:27 -0300)
committerMark Brown <broonie@linaro.org>
Fri, 25 Apr 2014 11:17:00 +0000 (12:17 +0100)
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>

No differences found