summaryrefslogtreecommitdiff
path: root/drivers/power/ds2782_battery.c
diff options
context:
space:
mode:
authorColin Cross <ccross@android.com>2011-01-28 19:32:31 -0800
committerColin Cross <ccross@android.com>2012-02-14 11:30:37 -0800
commitf66447a866d904209a8eca64e68ff84e9d618734 (patch)
treee4443bb04954ea46bc18e922a6e426ba416ce1d4 /drivers/power/ds2782_battery.c
parentf1724765f84dffeaa3bbb09115f55efa79382f17 (diff)
cpufreq: Prevent memory leak in cpufreq_stats on hotplug
Ensures that cpufreq_stats_free_table is called before __cpufreq_remove_dev on cpu hotplug (which also occurs during suspend on SMP systems) to make sure that sysfs_remove_group can get called before the cpufreq kobj is freed. Otherwise, the sysfs file structures are leaked. Change-Id: I87e55277272f5cfad47e9e7c92630e990bb90069 Signed-off-by: Colin Cross <ccross@android.com>
Diffstat (limited to 'drivers/power/ds2782_battery.c')
0 files changed, 0 insertions, 0 deletions