regulator: vexpress: use devm_regulator_register()
authorJingoo Han <jg1.han@samsung.com>
Mon, 30 Sep 2013 00:59:31 +0000 (09:59 +0900)
committerMark Brown <broonie@linaro.org>
Mon, 30 Sep 2013 17:11:03 +0000 (18:11 +0100)
commitabf92a3d2e868fef808d4a205371b7e5417dd0f7
treeb4aeaf24a54889df5902f2d3f191e481e3c37a3a
parent00ce070e51f96ee4c942b44d63b7a15f5b777fd6
regulator: vexpress: use devm_regulator_register()

Use devm_regulator_register() to make cleanup paths simpler.

Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Acked-by: Pawel Moll <pawel.moll@arm.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
drivers/regulator/vexpress.c