regulator: stw481x-vmmc: use devm_regulator_register()
authorJingoo Han <jg1.han@samsung.com>
Fri, 6 Dec 2013 07:12:41 +0000 (16:12 +0900)
committerMark Brown <broonie@linaro.org>
Mon, 9 Dec 2013 17:26:29 +0000 (17:26 +0000)
commit991a645d6b3320c07b8d78c58f8911f0b197e5d5
tree3f621db3ceea3df7dcf5b124caae90c0d6db9d9a
parent6ce4eac1f600b34f2f7f58f9cd8f0503d79e42ae
regulator: stw481x-vmmc: 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>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Mark Brown <broonie@linaro.org>
drivers/regulator/stw481x-vmmc.c