msm: thermal: clean up some code.

Signed-off-by: franciscofranco <franciscofranco.1990@gmail.com>