Skip to content
Commit 4b26b7c9 authored by Viorel Suman's avatar Viorel Suman Committed by Daniel Lezcano
Browse files

thermal/drivers/imx_sc_thermal: Fix the loop condition



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

Fixes: 31fd4b9d ("thermal/drivers/imx_sc: Rely on the platform data to get the resource id")
Signed-off-by: default avatarViorel Suman <viorel.suman@nxp.com>
Reviewed-by: default avatarDong Aisheng <Aisheng.dong@nxp.com>
Link: https://lore.kernel.org/r/20230117091956.61729-1-viorel.suman@oss.nxp.com


Signed-off-by: default avatarDaniel Lezcano <daniel.lezcano@linaro.org>
parent df715f26
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment