ab8500_charger: Use devm_regulator_get API
authorSachin Kamat <sachin.kamat@linaro.org>
Fri, 7 Dec 2012 11:53:28 +0000 (17:23 +0530)
committerAnton Vorontsov <anton@enomsg.org>
Sun, 6 Jan 2013 03:07:22 +0000 (19:07 -0800)
devm_regulator_get() is device managed and makes error handling and code
cleanup simpler.

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Acked-by: Arun Murthy <arun.murthy@stericsson.com>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Anton Vorontsov <anton@enomsg.org>

No differences found