regulator: da9210: use devm_regulator_register()
authorJingoo Han <jg1.han@samsung.com>
Mon, 30 Sep 2013 00:53:57 +0000 (09:53 +0900)
committerMark Brown <broonie@linaro.org>
Mon, 30 Sep 2013 17:11:30 +0000 (18:11 +0100)
commit11c0da7bb414505ff9a157af2b1301877a3726bd
tree1e64a2fbc8ac53d5737f160dcb14f016b3c73566
parent21a122b5f433cf58dd4cc7d8f284853bf9b17ad1
regulator: da9210: 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/da9210-regulator.c