OpenCloudOS-Kernel/drivers/media/test-drivers/vivid
Uwe Kleine-König fc63c5b12a media: vivid-core: Convert to platform remove callback returning void
The .remove() callback for a platform driver returns an int which makes
many driver authors wrongly assume it's possible to do error handling by
returning an error code. However the value returned is (mostly) ignored
and this typically results in resource leaks. To improve here there is a
quest to make the remove callback return void. In the first step of this
quest all drivers are converted to .remove_new() which already returns
void.

Trivially convert this driver from always returning zero in the remove
callback to the void returning variant.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
2023-04-11 16:59:21 +02:00
..
Kconfig media: Kconfig: cleanup VIDEO_DEV dependencies 2022-03-18 05:58:35 +01:00
Makefile
vivid-cec.c media: vivid: add signal-free time for cec message xfer 2021-09-30 10:07:55 +02:00
vivid-cec.h media: vivid: add signal-free time for cec message xfer 2021-09-30 10:07:55 +02:00
vivid-core.c media: vivid-core: Convert to platform remove callback returning void 2023-04-11 16:59:21 +02:00
vivid-core.h media: vivid: drop bitmap and clipping output overlay support 2023-03-20 00:30:27 +01:00
vivid-ctrls.c vivid: add INTEGER and INTEGER64 test control arrays 2022-10-24 19:03:53 +02:00
vivid-ctrls.h
vivid-kthread-cap.c media: vivid: drop bitmap and clipping output overlay support 2023-03-20 00:30:27 +01:00
vivid-kthread-cap.h
vivid-kthread-out.c treewide: use get_random_u32_below() instead of deprecated function 2022-11-18 02:15:15 +01:00
vivid-kthread-out.h
vivid-kthread-touch.c media: vivid: use time_is_after_jiffies() instead of open coding it 2022-02-22 09:41:13 +01:00
vivid-kthread-touch.h
vivid-meta-cap.c
vivid-meta-cap.h
vivid-meta-out.c media: vivid: Fix global-out-of-bounds read in precalculate_color() 2020-08-26 18:51:16 +02:00
vivid-meta-out.h
vivid-osd.c media: vivid: drop GFP_DMA32 2022-10-25 16:43:00 +01:00
vivid-osd.h
vivid-radio-common.c
vivid-radio-common.h
vivid-radio-rx.c treewide: use get_random_u32_below() instead of deprecated function 2022-11-18 02:15:15 +01:00
vivid-radio-rx.h
vivid-radio-tx.c
vivid-radio-tx.h
vivid-rds-gen.c
vivid-rds-gen.h
vivid-sdr-cap.c treewide: use get_random_u32_below() instead of deprecated function 2022-11-18 02:15:15 +01:00
vivid-sdr-cap.h
vivid-touch-cap.c treewide: use get_random_u32_below() instead of deprecated function 2022-11-18 02:15:15 +01:00
vivid-touch-cap.h
vivid-vbi-cap.c media: vivid: use vb2_queue_change_type 2021-06-08 12:06:55 +02:00
vivid-vbi-cap.h
vivid-vbi-gen.c media: vivid: remove redundant assignment to variable checksum 2022-10-24 19:03:54 +02:00
vivid-vbi-gen.h
vivid-vbi-out.c
vivid-vbi-out.h
vivid-vid-cap.c media: vivid: drop overlay support 2023-03-20 00:29:46 +01:00
vivid-vid-cap.h media: vivid: drop overlay support 2023-03-20 00:29:46 +01:00
vivid-vid-common.c media: vivid: Add support for the new YUVA and YUVX formats 2022-07-15 15:01:51 +01:00
vivid-vid-common.h
vivid-vid-out.c media: vivid: drop bitmap and clipping output overlay support 2023-03-20 00:30:27 +01:00
vivid-vid-out.h