Re: [PATCH 1/2] thermal/drivers/imx_sc_thermal: fix the loop condition

From: Daniel Lezcano
Date: Tue Jan 17 2023 - 04:34:51 EST


On 17/01/2023 10:19, Viorel Suman (OSS) wrote:
From: Viorel Suman <viorel.suman@xxxxxxx>

The minimal resource ID is 0: IMX_SC_R_AP_0=0, so fix
the loop condition. Aside of this - constify the array.

Fixes: 31fd4b9db13b ("thermal/drivers/imx_sc: Rely on the platform data to get the resource id")
Signed-off-by: Viorel Suman <viorel.suman@xxxxxxx>
Reviewed-by: Dong Aisheng <Aisheng.dong@xxxxxxx>
---

Applied, thanks

--
<http://www.linaro.org/> Linaro.org │ Open source software for ARM SoCs

Follow Linaro: <http://www.facebook.com/pages/Linaro> Facebook |
<http://twitter.com/#!/linaroorg> Twitter |
<http://www.linaro.org/linaro-blog/> Blog