Revert "msm: thermal: improve some codes."

This reverts commit 7926169f101ed8f7ca2cf8dc8dbb2445d4334bd7.