aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/power/power_supply_sysfs.c
diff options
context:
space:
mode:
authorDevendra Naga <develkernel412222@gmail.com>2012-07-30 16:29:33 +0545
committerAnton Vorontsov <anton.vorontsov@linaro.org>2012-08-22 19:47:14 -0700
commitdeacc4fe57794f80ad4449c7cea611921c2d0420 (patch)
tree69de0e89f91951d9bcdec779ea645fbb1b4899f2 /drivers/power/power_supply_sysfs.c
parentds2781_battery: Convert to module_platform_driver (diff)
downloadlinux-dev-deacc4fe57794f80ad4449c7cea611921c2d0420.tar.xz
linux-dev-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