ASoC: wm8985: Use devm_regulator_bulk_get()
authorFabio Estevam <fabio.estevam@freescale.com>
Wed, 30 Apr 2014 12:50:40 +0000 (09:50 -0300)
committerMark Brown <broonie@linaro.org>
Thu, 1 May 2014 03:36:06 +0000 (20:36 -0700)
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