linux/drivers/media
Uwe Kleine-König ad9be163c5 media: chips-media: wave5: 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 ignored (apart
from emitting a warning) 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. Eventually after all drivers
are converted, .remove_new() will be renamed to .remove().

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>
Reviewed-by: Nicolas Dufresne <nicolas.dufresne@collabora.com>
Signed-off-by: Sebastian Fricke <sebastian.fricke@collabora.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
2024-02-28 08:44:53 +01:00
..
cec media: platform: cros-ec: Add Dita to the match table 2024-02-16 11:46:32 +01:00
common media: v4l2-tpg: fix some memleaks in tpg_alloc 2024-02-05 12:57:45 +01:00
dvb-core media: dvb_frontend: Use wait_event_freezable_timeout() for freezable kthread 2024-02-16 11:46:31 +01:00
dvb-frontends media: dvb-frontends: Clean up errors in tda8083.h 2024-02-16 11:46:32 +01:00
firewire media: firewire: firedtv-avc.c: replace BUG with proper, error return 2023-08-10 07:58:37 +02:00
i2c media: i2c: imx290: Fix IMX920 typo 2024-02-23 14:33:32 +01:00
mc media: mc: Expand MUST_CONNECT flag to always require an enabled link 2024-02-05 14:29:34 +01:00
mmc
pci media: ivsc: csi: Make use of sub-device state 2024-02-23 14:33:32 +01:00
platform media: chips-media: wave5: Convert to platform remove callback returning void 2024-02-28 08:44:53 +01:00
radio media: radio-si476x: don't fill in bus_info 2023-09-27 10:47:23 +02:00
rc pwm: Changes for v6.8-rc1 2024-01-12 14:59:50 -08:00
spi
test-drivers media: visl: Add codec specific variability on output frames 2024-02-16 11:46:33 +01:00
tuners media: tda18271: remove redundant assignment to variable bcal 2024-02-16 11:46:32 +01:00
usb media: pvrusb2: fix pvr2_stream_callback casts 2024-02-16 11:46:33 +01:00
v4l2-core media: core: v4l2-ioctl.c: use is_valid_ioctl() 2024-02-16 11:46:32 +01:00
Kconfig media: Kconfig: Make DVB_CORE=m possible when MEDIA_SUPPORT=y 2022-12-07 17:58:46 +01:00
Makefile