diff options
| author | Nai-Chen Cheng <bleach1827@gmail.com> | 2025-08-04 01:49:55 +0800 |
|---|---|---|
| committer | Hans Verkuil <hverkuil+cisco@kernel.org> | 2025-08-25 15:40:31 +0200 |
| commit | 955c993d27858009436d4f56243f1ec0074e86ff (patch) | |
| tree | 0c99734bb5901d7ef267003766dfb90bc06aacc9 /include | |
| parent | 0125d9e1b3a2c0fd5a5adeb56ed5a415f4bc9fa2 (diff) | |
staging: media: ipu3: use string_choices API instead of ternary operator
Use string_choices API instead of manually determining the output using
ternary operator to improve code readability and consistency.
This also fixes cocci warning.
Signed-off-by: Nai-Chen Cheng <bleach1827@gmail.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Hans Verkuil <hverkuil+cisco@kernel.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
