On 17/01/2023 10:19, Viorel Suman (OSS) wrote:
> From: Viorel Suman <[email protected]>
>
> 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 <[email protected]>
> Reviewed-by: Dong Aisheng <[email protected]>
> ---
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