commit | c32a5087b70a6706ebee70c4a56849f89c0503f7 | [log] [tgz] |
---|---|---|
author | durgadoss.r@intel.com <durgadoss.r@intel.com> | Fri Oct 04 21:53:24 2013 +0530 |
committer | Zhang Rui <rui.zhang@intel.com> | Wed Oct 09 11:53:59 2013 +0800 |
tree | 4c2b92d64aea039476a8ec567a92d376c7656cf5 | |
parent | 22356f447ceb8d97a4885792e7d9e4607f712e1b [diff] |
Thermal: Tidy up error handling in powerclamp_init This patch * adds missing kfree() for cpu_clamping_mask * adds return value checking for alloc_percpu() * unregister hotcpu notifier in exit path Signed-off-by: Durgadoss R <durgadoss.r@intel.com> Signed-off-by: Zhang Rui <rui.zhang@intel.com>