regulator: db8500-prcmu: use devm_regulator_register()
authorJingoo Han <jg1.han@samsung.com>
Fri, 6 Dec 2013 07:08:38 +0000 (16:08 +0900)
committerMark Brown <broonie@linaro.org>
Mon, 9 Dec 2013 17:40:57 +0000 (17:40 +0000)
commit92dfbdbcb504beb1d716e500cd20b4780961afd5
treebc89ebc20cd25739cea0f35e0a2195e24e752ecd
parent6ce4eac1f600b34f2f7f58f9cd8f0503d79e42ae
regulator: db8500-prcmu: use devm_regulator_register()

Use devm_regulator_register() to make cleanup paths simpler.

Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Acked-by: Bengt Jonsson <bengt.g.jonsson@stericsson.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
drivers/regulator/db8500-prcmu.c