linux/drivers/media
Uwe Kleine-König 8a7033f806 media: mx2_emmaprp: 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:16 +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 Driver Core changes for 6.2-rc1 2022-12-16 03:54:54 -08:00
dvb-frontends media: zd1301_demod: Convert to platform remove callback returning void 2023-04-11 16:59:14 +02:00
firewire media: Makefiles: remove extra spaces 2022-03-12 16:59:52 +01:00
i2c media: ov2685: Select VIDEO_V4L2_SUBDEV_API 2023-03-20 16:32:18 +01:00
mc media: mc: entity: Fix minor issues in comments and documentation 2023-02-06 08:37:12 +01:00
mmc media: media/*/Kconfig: sort entries 2022-03-18 05:58:35 +01:00
pci media: bttv: drop overlay support 2023-03-20 00:29:11 +01:00
platform media: mx2_emmaprp: Convert to platform remove callback returning void 2023-04-11 16:59:16 +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 media updates for v5.18-rc1 2022-03-23 14:51:35 -07:00
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 media: Kconfig: Make DVB_CORE=m possible when MEDIA_SUPPORT=y 2022-12-07 17:58:46 +01:00
Makefile media: Makefiles: remove extra spaces 2022-03-12 16:59:52 +01:00