Skip to content
Commit c32a5087 authored by durgadoss.r@intel.com's avatar durgadoss.r@intel.com Committed by Zhang Rui
Browse files

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: default avatarDurgadoss R <durgadoss.r@intel.com>
Signed-off-by: default avatarZhang Rui <rui.zhang@intel.com>
parent 22356f44
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment