diff options
author | Devendra Naga <develkernel412222@gmail.com> | 2012-07-30 16:29:33 +0545 |
---|---|---|
committer | Anton Vorontsov <anton.vorontsov@linaro.org> | 2012-08-22 19:47:14 -0700 |
commit | deacc4fe57794f80ad4449c7cea611921c2d0420 (patch) | |
tree | 69de0e89f91951d9bcdec779ea645fbb1b4899f2 /usr | |
parent | bc6e51d8891629a9d117dc75a8a2eb9a411a3510 (diff) | |
download | blackbird-obmc-linux-deacc4fe57794f80ad4449c7cea611921c2d0420.tar.gz blackbird-obmc-linux-deacc4fe57794f80ad4449c7cea611921c2d0420.zip |
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>
Diffstat (limited to 'usr')
0 files changed, 0 insertions, 0 deletions