jz4740-battery: Use devm_kzalloc
This is just a small cleanup, makes a logic a little bit more simplier. Signed-off-by: NMarcos Paulo de Souza <marcos.souza.org@gmail.com> Acked-by: NLars-Peter Clausen <lars@metafoo.de> Signed-off-by: NAnton Vorontsov <anton.vorontsov@linaro.org>
Showing
想要评论请 注册 或 登录