diff options
author | Javi Merino <javi.merino@arm.com> | 2015-08-25 19:22:35 +0100 |
---|---|---|
committer | Kevin Hilman <khilman@linaro.org> | 2015-09-08 09:26:55 -0700 |
commit | 6d3b41e9d5b6fc0eca68a02acef1a9fb3521b826 (patch) | |
tree | c9db4ecc24b0ea303f44a9733d972662bb9e516c /COPYING | |
parent | 56e20188102e55102f6f49f123aac998283a158d (diff) |
thermal: power_allocator: allocate with kcalloc what you free with kfreev3.18/topic/thermal
Commit cf736ea6f902 ("thermal: power_allocator: do not use devm*
interfaces") forgot to change a devm_kcalloc() to just kcalloc(), but
it's corresponding devm_kfree() was changed to kfree(). Allocate with
kcalloc() to match the kfree().
Fixes: cf736ea6f902 ("thermal: power_allocator: do not use devm* interfaces")
Cc: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Cc: Eduardo Valentin <edubezval@gmail.com>
Cc: Zhang Rui <rui.zhang@intel.com>
Signed-off-by: Javi Merino <javi.merino@arm.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
(cherry picked from commit 9751a9e449da2a7749d89968039d532c615beeaa)
Signed-off-by: Kevin Hilman <khilman@linaro.org>
Diffstat (limited to 'COPYING')
0 files changed, 0 insertions, 0 deletions