OpenCloudOS-Kernel/drivers/media/test-drivers/vidtv
Uwe Kleine-König b8b615b530 media: vidtv_bridge: 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: media/*/Kconfig: sort entries 2022-03-18 05:58:35 +01:00
Makefile media: vidtv: add a bridge driver 2020-09-12 09:43:12 +02:00
vidtv_bridge.c media: vidtv_bridge: Convert to platform remove callback returning void 2023-04-11 16:59:21 +02:00
vidtv_bridge.h media: vidtv: use a simpler name in platform_{device|driver} 2021-01-27 12:29:17 +01:00
vidtv_channel.c media: [next] media: vidtv: fix a read from an object after it has been freed 2020-12-02 13:15:07 +01:00
vidtv_channel.h media: vidtv.rst: add kernel-doc markups 2020-11-26 08:05:24 +01:00
vidtv_common.c media: vidtv: fix 32-bit warnings 2020-09-14 15:48:11 +02:00
vidtv_common.h media: vidtv: fix the network ID range 2020-11-26 08:05:23 +01:00
vidtv_demod.c media updates for v6.2-rc1 2022-12-13 11:36:58 -08:00
vidtv_demod.h media: vidtv.rst: add kernel-doc markups 2020-11-26 08:05:24 +01:00
vidtv_encoder.h media: vidtv.rst: add kernel-doc markups 2020-11-26 08:05:24 +01:00
vidtv_mux.c media: vidtv: simplify EIT write function 2020-11-26 08:05:24 +01:00
vidtv_mux.h media: vidtv.rst: add kernel-doc markups 2020-11-26 08:05:24 +01:00
vidtv_pes.c media: vidtv: avoid copying data for PES structs 2020-11-26 07:47:34 +01:00
vidtv_pes.h media: vidtv.rst: add kernel-doc markups 2020-11-26 08:05:24 +01:00
vidtv_psi.c media: vidtv: make const array DURATION static 2023-02-08 07:27:14 +01:00
vidtv_psi.h media: vidtv: fix some warnings 2020-12-08 08:15:49 +01:00
vidtv_s302m.c media: vidtv: use vfree() for memory allocated with vzalloc() 2022-03-18 07:28:17 +01:00
vidtv_s302m.h media: vidtv.rst: add kernel-doc markups 2020-11-26 08:05:24 +01:00
vidtv_ts.c media: vidtv: reorganize includes 2020-11-26 07:41:03 +01:00
vidtv_ts.h media: vidtv: remove unused field from 'struct vidtv_mpeg_ts' 2021-01-27 11:47:02 +01:00
vidtv_tuner.c media: vidtv: Convert to i2c's .probe_new() 2022-11-21 11:04:42 +01:00
vidtv_tuner.h media: vidtv: reorganize includes 2020-11-26 07:41:03 +01:00