regulator: pcap: use devm_regulator_register()
authorJingoo Han <jg1.han@samsung.com>
Mon, 30 Sep 2013 00:56:55 +0000 (09:56 +0900)
committerMark Brown <broonie@linaro.org>
Mon, 30 Sep 2013 17:11:00 +0000 (18:11 +0100)
commit15dc006af830d85417c97b60a40b5a0b991ee32e
tree39873892fb933e95db997949d103659cce2469ea
parent58765e24bec8940082068829a9d2c3a4431d60c0
regulator: pcap: 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/pcap-regulator.c