thermal: exynos: simplify temp_to_code() and code_to_temp()
thermal: exynos: simplify temp_to_code() and code_to_temp()

* Remove dead temp check from temp_to_code() (this function users
  in exynos_tmu_initialize() always pass correct temperatures and
  exynos_tmu_set_emulation() returns early for EXYNOS4210 because
  TMU_SUPPORT_EMULATION flag is not set on this SoC).

* Move temp_code check from code_to_temp() to exynos_tmu_read()
  (code_to_temp() only user).

There should be no functional changes caused by this patch.

Signed-off-by: Bartlomiej Zolnierkiewicz <24970bf3d8506c473367e9292a8e5eb43a40bda0@samsung.com>
Acked-by: Kyungmin Park <504c23c4986a3760712724894be3105092c27331@samsung.com>
Reviewed-by: Amit Daniel Kachhap <af46fc11c512e2f04cb4f1fb592b19c9c97c3d90@samsung.com>
Tested-by: Amit Daniel Kachhap <af46fc11c512e2f04cb4f1fb592b19c9c97c3d90@samsung.com>
Signed-off-by: Eduardo Valentin <19583d7f5a73f900a77b3924aabdcb631a4c7608@gmail.com>

KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs