max17040_battery: Use devm_kzalloc
use devm_kzalloc and no need of error path and unload frees. Signed-off-by: NDevendra Naga <devendra.aaru@gmail.com> Signed-off-by: NAnton Vorontsov <anton@enomsg.org>
Showing
想要评论请 注册 或 登录
use devm_kzalloc and no need of error path and unload frees. Signed-off-by: NDevendra Naga <devendra.aaru@gmail.com> Signed-off-by: NAnton Vorontsov <anton@enomsg.org>