regulator: lp872x: use devm_regulator_register()
authorJingoo Han <jg1.han@samsung.com>
Mon, 30 Sep 2013 00:54:34 +0000 (09:54 +0900)
committerMark Brown <broonie@linaro.org>
Mon, 30 Sep 2013 17:10:59 +0000 (18:10 +0100)
commited602534df5d07251c074bafe75feed643c588d1
tree3ce877fdf6f9681e28bca24a09a09122c603fb42
parente97bba912eede5e813788bc9ead4a2c29130d377
regulator: lp872x: use devm_regulator_register()

Use devm_regulator_register() to make cleanup paths simpler,
and remove unnecessary remove().

Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
drivers/regulator/lp872x.c