regulator: lp8755: Use devm_regulator_register
authorHimangi Saraogi <himangi774@gmail.com>
Mon, 7 Jul 2014 15:42:14 +0000 (21:12 +0530)
committerMark Brown <broonie@linaro.org>
Wed, 9 Jul 2014 09:44:01 +0000 (11:44 +0200)
This patch moves data allocated using regulator_register to
devm_regulator_register and does away with the calls to
regulator_unregister. Also some labels are removed and a new labelerr is
introduced which is less specific to context.

Signed-off-by: Himangi Saraogi <himangi774@gmail.com>
Acked-by: Julia Lawall <julia.lawall@lip6.fr>
Signed-off-by: Mark Brown <broonie@linaro.org>

No differences found