linux/drivers/media
Uwe Kleine-König 0a44e5f606 media: omap_vout: 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:19 +02:00
..
cec media: tegra_cec: Convert to platform remove callback returning void 2023-04-11 16:59:14 +02:00
common media: saa7146: drop overlay support 2023-03-20 00:27:04 +01:00
dvb-core
dvb-frontends media: zd1301_demod: Convert to platform remove callback returning void 2023-04-11 16:59:14 +02:00
firewire
i2c media: ov2685: Select VIDEO_V4L2_SUBDEV_API 2023-03-20 16:32:18 +01:00
mc
mmc
pci media: bttv: drop overlay support 2023-03-20 00:29:11 +01:00
platform media: omap_vout: Convert to platform remove callback returning void 2023-04-11 16:59:19 +02:00
radio media: radio/wl128x: remove unnecessary (void*) conversions 2023-02-08 07:26:02 +01:00
rc media: rc: add Beelink Mini MXIII keymap 2023-03-19 22:21:54 +01:00
spi
test-drivers media: vivid: drop bitmap and clipping output overlay support 2023-03-20 00:30:27 +01:00
tuners media: mxl5005s: Bounds check size used for max array index 2023-03-19 22:50:49 +01:00
usb media: pvrusb2: VIDEO_PVRUSB2 depends on DVB_CORE to use dvb_* symbols 2023-03-19 22:58:30 +01:00
v4l2-core media: add RealVideo format RV30 and RV40 2023-04-10 14:08:53 +01:00
Kconfig
Makefile