diff options
author | Devendra Naga <develkernel412222@gmail.com> | 2012-07-30 14:44:33 +0400 |
---|---|---|
committer | Anton Vorontsov <anton.vorontsov@linaro.org> | 2012-08-23 06:47:14 +0400 |
commit | deacc4fe57794f80ad4449c7cea611921c2d0420 (patch) | |
tree | 69de0e89f91951d9bcdec779ea645fbb1b4899f2 /include/linux/power_supply.h | |
parent | bc6e51d8891629a9d117dc75a8a2eb9a411a3510 (diff) | |
download | linux-deacc4fe57794f80ad4449c7cea611921c2d0420.tar.xz |
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 'include/linux/power_supply.h')
0 files changed, 0 insertions, 0 deletions