thermal: exynos: remove threshold_code checking from exynos4210_tmu_initialize()
authorBartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Thu, 26 Apr 2018 11:51:22 +0000 (13:51 +0200)
committerEduardo Valentin <edubezval@gmail.com>
Sun, 6 May 2018 23:21:18 +0000 (16:21 -0700)
commit0a79ba5290eaeb0eeae0fc6f5add9cbbc76e69a9
treec2e7fd92db81e3a90cd1041126774097bdadde8c
parent3c2651349bc66e4fd5a6949199a9e95fe0088f96
thermal: exynos: remove threshold_code checking from exynos4210_tmu_initialize()

On Exynos4210 one-point trimming is always used and data->temp_error1
is equal to 75. Therefore temp_to_code() will never return negative
value for the reference temperature conversion.

There should be no functional changes caused by this patch.

Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Reviewed-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Signed-off-by: Eduardo Valentin <edubezval@gmail.com>
drivers/thermal/samsung/exynos_tmu.c