thermal: clean the coverity errors of thermal module
authorzhiqiang.liang <zhiqiang.liang@amlogic.com>
Tue, 21 Aug 2018 08:53:08 +0000 (16:53 +0800)
committerJianxin Pan <jianxin.pan@amlogic.com>
Tue, 21 Aug 2018 11:38:04 +0000 (04:38 -0700)
commit7e9d8d94165bf5a025c0afc67023640961d5f854
treef97fac00b8cd2408464d4735cd4a8efff6a380c1
parentf986c58443d750176d0434624c942f9cd4bd0f58
thermal: clean the coverity errors of thermal module

PD#166793: code defects in thermal part

Change-Id: Icd970eced2ed3bcd76a8baf15bf7b885d63d8d6a
Signed-off-by: zhiqiang.liang <zhiqiang.liang@amlogic.com>
drivers/amlogic/thermal/cpucore_cooling.c
drivers/amlogic/thermal/gpu_cooling.c
drivers/amlogic/thermal/gpucore_cooling.c