regulator: tps65023: Use devm_regulator_register
authorSachin Kamat <sachin.kamat@linaro.org>
Wed, 4 Sep 2013 11:47:46 +0000 (17:17 +0530)
committerMark Brown <broonie@linaro.org>
Mon, 16 Sep 2013 23:28:43 +0000 (00:28 +0100)
commit9c7c9eae5f7ac57465c0ac6adc8e3ad3afad2544
tree2e408c4101693dd15c977c38022c4a30074dadf0
parent58c6e938c00de744d52f739aa426a4b1b13ef22b
regulator: tps65023: Use devm_regulator_register

devm_* simplifies the code.

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Mark Brown <broonie@linaro.org>
drivers/regulator/tps65023-regulator.c