[PATCH 1/2] thermal/drivers/imx_sc_thermal: fix the loop condition
Daniel Lezcano
daniel.lezcano at linaro.org
Tue Jan 17 01:32:51 PST 2023
On 17/01/2023 10:19, Viorel Suman (OSS) wrote:
> From: Viorel Suman <viorel.suman at nxp.com>
>
> 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 at nxp.com>
> Reviewed-by: Dong Aisheng <Aisheng.dong at nxp.com>
> ---
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
More information about the linux-arm-kernel
mailing list