bq2415x_charger: Use devm_kzalloc()
devm_kzalloc is device managed and makes error handling and code cleanup a bit simpler. Signed-off-by: NSachin Kamat <sachin.kamat@linaro.org> Signed-off-by: NAnton Vorontsov <anton@enomsg.org>
Showing
想要评论请 注册 或 登录