regulator: twl: use devm_regulator_register()
authorJingoo Han <jg1.han@samsung.com>
Mon, 30 Sep 2013 00:59:04 +0000 (09:59 +0900)
committerMark Brown <broonie@linaro.org>
Mon, 30 Sep 2013 17:11:03 +0000 (18:11 +0100)
commit00ce070e51f96ee4c942b44d63b7a15f5b777fd6
tree0f0935eea49e42fdf9c3fe6279caa89d0c14c01a
parent6a2b5a931f31c91cc2e261d99af7b3d881a41d86
regulator: twl: use devm_regulator_register()

Use devm_regulator_register() to make cleanup paths simpler.

Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Acked-by: Nishanth Menon <nm@ti.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
drivers/regulator/twl-regulator.c