summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorRishikesh Donadkar <r-donadkar@ti.com>2026-05-20 16:57:05 +0300
committerSakari Ailus <sakari.ailus@linux.intel.com>2026-05-28 21:25:38 +0300
commit6767653b4e633d0ceaaaa734a4692306a9970573 (patch)
tree290b12568330f531a792ca967c3af370617b1eee /include/linux
parentc6b1b34b509032c7e7cef9efc63cab55c2ad309e (diff)
downloadlinux-6767653b4e633d0ceaaaa734a4692306a9970573.tar.xz
media: ti: j721e-csi2rx: Minor cleanup of loop variables
Replace open-coded `i--; for (; i >= 0; i--)` patterns with the idiomatic `while (i--)` in the error unwind paths of csi_async_notifier_complete() and ti_csi2rx_probe(). Also scope loop variables directly in the for statement instead of declaring them at the top of the function in ti_csi2rx_suspend(), ti_csi2rx_resume() and ti_csi2rx_remove(). Change the type to unsigned int in the first two to match csi->num_ctx. Signed-off-by: Rishikesh Donadkar <r-donadkar@ti.com> Reviewed-by: Jai Luthra <jai.luthra@ideasonboard.com> Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions