ab8500_charger: Use devm_regulator_get API
devm_regulator_get() is device managed and makes error handling and code cleanup simpler. Signed-off-by: NSachin Kamat <sachin.kamat@linaro.org> Acked-by: NArun Murthy <arun.murthy@stericsson.com> Acked-by: NLinus Walleij <linus.walleij@linaro.org> Signed-off-by: NAnton Vorontsov <anton@enomsg.org>
Showing
想要评论请 注册 或 登录