ASoC: sgtl5000: Use devm_regulator_bulk_get()
authorFabio Estevam <fabio.estevam@freescale.com>
Thu, 24 Apr 2014 17:13:08 +0000 (14:13 -0300)
committerMark Brown <broonie@linaro.org>
Thu, 24 Apr 2014 17:32:40 +0000 (18:32 +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