regulator: tps6105x: use devm_regulator_register()
authorJingoo Han <jg1.han@samsung.com>
Mon, 30 Sep 2013 00:57:54 +0000 (09:57 +0900)
committerMark Brown <broonie@linaro.org>
Mon, 30 Sep 2013 17:11:00 +0000 (18:11 +0100)
commit6a2b5a931f31c91cc2e261d99af7b3d881a41d86
treeb8edb3ec7d24850c4b5df2738e340f50f61ac665
parent5e0165e5a91db2283e694023582c0fc23311ae59
regulator: tps6105x: 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>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Mark Brown <broonie@linaro.org>
drivers/regulator/tps6105x-regulator.c