msm: thermal: improve some codes.

Signed-off-by: franciscofranco <franciscofranco.1990@gmail.com>
Merge remote-tracking branch 'upstream/nightlies' into sm-4.4
Version 47

Signed-off-by: kecinzer <kecinzer@gmail.com>