diff options
author | Viorel Suman <viorel.suman@nxp.com> | 2023-01-17 12:19:55 +0300 |
---|---|---|
committer | Daniel Lezcano <daniel.lezcano@linaro.org> | 2023-01-17 12:28:07 +0300 |
commit | 4b26b7c9cdefdcb478047c30901d2379ef9e50fc (patch) | |
tree | 714d2a3f594c72501999a45f9c2feff4decdcc43 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | df715f26cb7b43e3fabb4518aa65931180de8a71 (diff) | |
download | linux-4b26b7c9cdefdcb478047c30901d2379ef9e50fc.tar.xz |
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: 31fd4b9db13b ("thermal/drivers/imx_sc: Rely on the platform data to get the resource id")
Signed-off-by: Viorel Suman <viorel.suman@nxp.com>
Reviewed-by: Dong Aisheng <Aisheng.dong@nxp.com>
Link: https://lore.kernel.org/r/20230117091956.61729-1-viorel.suman@oss.nxp.com
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions