commit | 3598aad5470deb5eb4f643ef89abb9b172803e76 | [log] [tgz] |
---|---|---|
author | Fabio Estevam <fabio.estevam@freescale.com> | Thu Apr 24 22:27:04 2014 -0300 |
committer | Mark Brown <broonie@linaro.org> | Fri Apr 25 12:17:18 2014 +0100 |
tree | 4d80bbb3b7d0d16dc47f9174dea58441892d1b77 | |
parent | c9eaa447e77efe77b7fa4c953bd62de8297fd6c5 [diff] |
ASoC: wm8731: 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>