linux/drivers/media/usb/gspca
Ricardo Ribalda 45fbce19e7 media: gspca: cpia1: Use min macro
Simplifies the code.

Found by cocci:
drivers/media/usb/gspca/cpia1.c:607:30-31: WARNING opportunity for min()

Link: https://lore.kernel.org/linux-media/20240429-fix-cocci-v3-18-3c4865f5a4b0@chromium.org
Signed-off-by: Ricardo Ribalda <ribalda@chromium.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
2024-05-03 11:13:45 +01:00
..
gl860 media: Kconfig: cleanup VIDEO_DEV dependencies 2022-03-18 05:58:35 +01:00
m5602 media: Kconfig: cleanup VIDEO_DEV dependencies 2022-03-18 05:58:35 +01:00
stv06xx
autogain_functions.c
benq.c
conex.c
cpia1.c media: gspca: cpia1: Use min macro 2024-05-03 11:13:45 +01:00
dtcs033.c
etoms.c
finepix.c media: gspca: Fix typo 'the the' in comment 2022-08-29 15:32:14 +02:00
gspca.c media: videobuf2: core: Rename min_buffers_needed field in vb2_queue 2023-12-13 17:31:27 +01:00
gspca.h
jeilinj.c
jl2005bcd.c media: gspca: make array regs_to_read static const 2022-01-23 21:18:43 +01:00
jpeg.h
Kconfig media: media/*/Kconfig: sort entries 2022-03-18 05:58:35 +01:00
kinect.c
konica.c
Makefile media: Makefiles: remove extra spaces 2022-03-12 16:59:52 +01:00
mars.c
mr97310a.c
nw80x.c
ov519.c
ov534_9.c
ov534.c
pac207.c
pac7302.c media: gspca: remove redundant assignment of variable n 2022-02-22 09:41:11 +01:00
pac7311.c
pac_common.h
se401.c
se401.h
sn9c20x.c
sn9c2028.c
sn9c2028.h
sonixb.c
sonixj.c
spca500.c
spca501.c media: gspca: drop unexpected word 'is' in the comments 2022-07-08 14:46:08 +01:00
spca505.c
spca506.c
spca508.c
spca561.c media: gspca: make the read-only array table static const 2022-05-13 11:02:17 +02:00
spca1528.c
sq905.c
sq905c.c
sq930x.c
stk014.c
stk1135.c
stk1135.h
stv0680.c
sunplus.c
t613.c
topro.c
touptek.c
tv8532.c
vc032x.c
vicam.c
w996Xcf.c
xirlink_cit.c media: usb: gspca: aligned '*' each line 2022-06-27 09:25:40 +01:00
zc3xx-reg.h
zc3xx.c