linux/drivers/media/usb/stk1160
Ricardo Ribalda 1d3eb44a97 media: stk1160: Use min macro
Instead of a custom min() implementation, use the real macro.

Mitigates the following cocci WARNINGs:
drivers/media/usb/stk1160/stk1160-video.c:133:12-13: WARNING opportunity for min()
drivers/media/usb/stk1160/stk1160-video.c:176:13-14: WARNING opportunity for min()

Link: https://lore.kernel.org/linux-media/20240429-fix-cocci-v3-19-3c4865f5a4b0@chromium.org
Reviewed-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
Signed-off-by: Ricardo Ribalda <ribalda@chromium.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
2024-05-03 11:14:15 +01:00
..
Kconfig media: stk1160: Simplify the build config definition 2023-05-25 16:21:20 +02:00
Makefile media: replace all <spaces><tab> occurrences 2018-01-04 13:15:05 -05:00
stk1160-ac97.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 157 2019-05-30 11:26:37 -07:00
stk1160-core.c media: stk1160: If start stream fails, return buffers with VB2_BUF_STATE_QUEUED 2022-03-07 10:59:11 +01:00
stk1160-i2c.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 157 2019-05-30 11:26:37 -07:00
stk1160-reg.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 157 2019-05-30 11:26:37 -07:00
stk1160-v4l.c media: stk1160: use dma_alloc_noncontiguous API 2022-03-07 11:01:22 +01:00
stk1160-video.c media: stk1160: Use min macro 2024-05-03 11:14:15 +01:00
stk1160.h media: stk1160: use dma_alloc_noncontiguous API 2022-03-07 11:01:22 +01:00