diff options
author | durgadoss.r@intel.com <durgadoss.r@intel.com> | 2013-10-04 20:23:24 +0400 |
---|---|---|
committer | Zhang Rui <rui.zhang@intel.com> | 2013-10-09 07:53:59 +0400 |
commit | c32a5087b70a6706ebee70c4a56849f89c0503f7 (patch) | |
tree | 4c2b92d64aea039476a8ec567a92d376c7656cf5 /drivers/bluetooth/btsdio.c | |
parent | 22356f447ceb8d97a4885792e7d9e4607f712e1b (diff) | |
download | linux-c32a5087b70a6706ebee70c4a56849f89c0503f7.tar.xz |
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>
Diffstat (limited to 'drivers/bluetooth/btsdio.c')
0 files changed, 0 insertions, 0 deletions