regulator: tps80031: Use devm_regulator_register
authorSachin Kamat <sachin.kamat@linaro.org>
Wed, 4 Sep 2013 11:47:53 +0000 (17:17 +0530)
committerMark Brown <broonie@linaro.org>
Mon, 16 Sep 2013 23:28:44 +0000 (00:28 +0100)
commit0fb0c82e8135d3de9eff2a05202f6870ec378392
tree224d735a396ed297bbe0e48941dc5a6d7abc8509
parentab1d65e03afdafa991bb208ade089d36b0e1d2ad
regulator: tps80031: 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/tps80031-regulator.c