]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
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)
commita0b148b4232472f5c046ace203b7856f51564d70
tree834f89bc227088c21a5ae53781df3180ae26e74f
parentc9eaa447e77efe77b7fa4c953bd62de8297fd6c5
ASoC: wm8985: 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/wm8985.c