regulator: ab8500: use devm_regulator_register()
authorJingoo Han <jg1.han@samsung.com>
Fri, 6 Dec 2013 07:07:09 +0000 (16:07 +0900)
committerMark Brown <broonie@linaro.org>
Mon, 9 Dec 2013 17:38:40 +0000 (17:38 +0000)
commitbaafdc1d20a97c5c243f78981c95eadbd3b40caf
treea1ed7d3c09ae827befb7c889066388fde04ffaff
parent34c040ce1a9d9c13121c95101164383ce516ddd6
regulator: ab8500: use devm_regulator_register()

Use devm_regulator_register() to make cleanup paths simpler.

Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Acked-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Mark Brown <broonie@linaro.org>
drivers/regulator/ab8500.c