aboutsummaryrefslogtreecommitdiff
path: root/drivers/fpga/microchip-spi.c
diff options
context:
space:
mode:
authorViorel Suman <[email protected]>2023-01-17 11:19:55 +0200
committerDaniel Lezcano <[email protected]>2023-01-17 10:28:07 +0100
commit4b26b7c9cdefdcb478047c30901d2379ef9e50fc (patch)
tree714d2a3f594c72501999a45f9c2feff4decdcc43 /drivers/fpga/microchip-spi.c
parentdf715f26cb7b43e3fabb4518aa65931180de8a71 (diff)
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 <[email protected]> Reviewed-by: Dong Aisheng <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Daniel Lezcano <[email protected]>
Diffstat (limited to 'drivers/fpga/microchip-spi.c')
0 files changed, 0 insertions, 0 deletions