linux/drivers/media
Ricardo Ribalda 707928b9f6 media: go7007: Use min and max macros
Replace ternary inline selection of f1 and f2 min max values with min()
and max() helper functions for the sake of readability and to make
coccinelle happier

drivers/media/usb/go7007/go7007-fw.c:1292:14-15: WARNING opportunity for max()
drivers/media/usb/go7007/go7007-fw.c:1293:14-15: WARNING opportunity for min()

Link: https://lore.kernel.org/linux-media/20240429-fix-cocci-v3-5-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:06:27 +01:00
..
cec media: cec: core: avoid confusing "transmit timed out" message 2024-05-02 19:01:00 +01:00
common media: videobuf2: improve max_num_buffers sanity checks 2024-04-24 13:49:55 +02:00
dvb-core media: dvbdev: Initialize sbuf 2024-04-08 13:48:19 +02:00
dvb-frontends media: stb0899: Simplify check 2024-05-03 11:03:01 +01:00
firewire media: firewire: firedtv-avc.c: replace BUG with proper, error return 2023-08-10 07:58:37 +02:00
i2c media: imx214: Fix the error handling in imx214_probe() 2024-04-29 12:06:33 +01:00
mc media: mc: mark the media devnode as registered from the, start 2024-04-22 11:41:04 +02:00
mmc media: mmc: siano: simplify module initialization 2024-04-08 13:48:19 +02:00
pci media: pci: mgb4: Refactor struct resources 2024-05-03 11:02:04 +01:00
platform media: mtk-vcodec: potential null pointer deference in SCP 2024-05-03 07:06:51 +01:00
radio media: radio-shark2: Avoid led_names truncations 2024-04-08 13:48:19 +02:00
rc media: imon: Convert sprintf/snprintf to sysfs_emit 2024-03-25 10:13:44 +01:00
spi media: cxd2880: Replaze kmalloc with kzalloc 2024-04-15 13:42:38 +02:00
test-drivers media: v4l2: Add mem2mem helpers for REMOVE_BUFS ioctl 2024-03-25 12:00:44 +01:00
tuners media: tunner: xc5000: Refactor firmware load 2024-04-15 13:42:38 +02:00
usb media: go7007: Use min and max macros 2024-05-03 11:06:27 +01:00
v4l2-core media: v4l: Add V4L2-PIX-FMT-Y14P format 2024-04-29 14:56:37 +02:00
Kconfig media: Kconfig: Make DVB_CORE=m possible when MEDIA_SUPPORT=y 2022-12-07 17:58:46 +01:00
Makefile