regulator: max8925: use devm_regulator_register()
authorJingoo Han <jg1.han@samsung.com>
Mon, 30 Sep 2013 00:56:24 +0000 (09:56 +0900)
committerMark Brown <broonie@linaro.org>
Mon, 30 Sep 2013 17:10:59 +0000 (18:10 +0100)
commit58765e24bec8940082068829a9d2c3a4431d60c0
tree0d03a74a2e18de75cf7a1bbd7e0fe23cd7a33bb9
parent0b7bb09054aebe66fd803c8f88015046b96cb47f
regulator: max8925: 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/max8925-regulator.c