thermal/core: Use precomputed jiffies for the polling
authorDaniel Lezcano <daniel.lezcano@linaro.org>
Wed, 16 Dec 2020 22:03:36 +0000 (23:03 +0100)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Tue, 19 Jan 2021 21:23:43 +0000 (22:23 +0100)
commit39a38808d082fc0fbf45cfefda17252ed8c6b31f
tree3d67725136d5f92e9e68916a533ca168a161fdd9
parent17d399cd9c8936909bc8936a5837b6da9af9c29e
thermal/core: Use precomputed jiffies for the polling

The delays are also stored in jiffies based unit. Use them instead of
the ms.

Cc: Thara Gopinath <thara.gopinath@linaro.org>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Reviewed-by: Lukasz Luba <lukasz.luba@arm.com>
Reviewed-by: Thara Gopinath <thara.gopinath@linaro.org>
Link: https://lore.kernel.org/r/20201216220337.839878-2-daniel.lezcano@linaro.org
drivers/thermal/thermal_core.c