diff options
author | Devendra Naga <develkernel412222@gmail.com> | 2012-07-30 12:44:33 +0200 |
---|---|---|
committer | Anton Vorontsov <anton.vorontsov@linaro.org> | 2012-08-23 04:47:14 +0200 |
commit | deacc4fe57794f80ad4449c7cea611921c2d0420 (patch) | |
tree | 69de0e89f91951d9bcdec779ea645fbb1b4899f2 /drivers/power/power_supply_sysfs.c | |
parent | ds2781_battery: Convert to module_platform_driver (diff) | |
download | linux-deacc4fe57794f80ad4449c7cea611921c2d0420.tar.xz 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 'drivers/power/power_supply_sysfs.c')
0 files changed, 0 insertions, 0 deletions