diff options
| author | Rishab Madhugiri <rishab.madhugiri@gmail.com> | 2026-08-16 01:01:26 +0000 |
|---|---|---|
| committer | Sakari Ailus <sakari.ailus@linux.intel.com> | 2026-10-04 00:07:26 +0300 |
| commit | 913cb934aace10ac9a11eca9606ca650ac2671ba (patch) | |
| tree | 52a00874a8ece35c4b41d24fd869f6a46e9f6cfb /rust/kernel/alloc/allocator | |
| parent | 09b7184253e713d34b60fe009d81d5a3f643383f (diff) | |
staging: media: atomisp: Use ARRAY_SIZE macro
Clean up loop bound calculation by replacing sizeof(bds_factors) /
sizeof(struct bayer_ds_factor) with the ARRAY_SIZE() helper macro
to improve readability and maintainability. Move loop counter
increment to the same line as the for loop and declare the loop
counter locally.
Signed-off-by: Rishab Madhugiri <rishab.madhugiri@gmail.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@intel.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Diffstat (limited to 'rust/kernel/alloc/allocator')
0 files changed, 0 insertions, 0 deletions
