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