diff options
author | Javi Merino <javi.merino@arm.com> | 2015-08-17 19:21:43 +0100 |
---|---|---|
committer | Eduardo Valentin <edubezval@gmail.com> | 2015-09-13 20:34:05 -0700 |
commit | eba4f88d5af84e0fcaa5d6eb4fe35a75c47203cb (patch) | |
tree | 06101b245ae62531cdb570117214499285b8b039 /Documentation/thermal | |
parent | 459ac37506d195713b5e82271a2ac44a777e47df (diff) | |
download | op-kernel-dev-eba4f88d5af84e0fcaa5d6eb4fe35a75c47203cb.zip op-kernel-dev-eba4f88d5af84e0fcaa5d6eb4fe35a75c47203cb.tar.gz |
thermal: cpu_cooling: free power table on error or when unregistering
The power table is not being freed on error from cpufreq_cooling
register or when unregistering. Free it.
Fixes: c36cf0717631 ("thermal: cpu_cooling: implement the power cooling device API")
Cc: Zhang Rui <rui.zhang@intel.com>
Cc: Eduardo Valentin <edubezval@gmail.com>
Signed-off-by: Javi Merino <javi.merino@arm.com>
Signed-off-by: Eduardo Valentin <edubezval@gmail.com>
Diffstat (limited to 'Documentation/thermal')
0 files changed, 0 insertions, 0 deletions