commit | deacc4fe57794f80ad4449c7cea611921c2d0420 | [log] [tgz] |
---|---|---|
author | Devendra Naga <develkernel412222@gmail.com> | Mon Jul 30 16:29:33 2012 +0545 |
committer | Anton Vorontsov <anton.vorontsov@linaro.org> | Wed Aug 22 19:47:14 2012 -0700 |
tree | 69de0e89f91951d9bcdec779ea645fbb1b4899f2 | |
parent | bc6e51d8891629a9d117dc75a8a2eb9a411a3510 [diff] |
ds2781_battery: Replace call to kzalloc with devm_kzalloc With devm_kzalloc there is no need of freeing at the errorpath and also at unregister it. Signed-off-by: Devendra Naga <develkernel412222@gmail.com> Signed-off-by: Anton Vorontsov <anton.vorontsov@linaro.org>