Re: [PATCH v2 2/4] thermal/core: Precompute the delays from msecs to jiffies

From: Lukasz Luba
Date: Thu Dec 10 2020 - 10:59:58 EST




On 12/7/20 7:09 PM, Daniel Lezcano wrote:
The delays are stored in ms units and when the polling function is
called this delay is converted into jiffies at each call.

Instead of doing the conversion again and again, compute the jiffies
at init time and use the value directly when setting the polling.

Signed-off-by: Daniel Lezcano <daniel.lezcano@xxxxxxxxxx>
---

Reviewed-by: Lukasz Luba <lukasz.luba@xxxxxxx>