linux/drivers/media/cec/platform
Uwe Kleine-König 6faac71d36 media: tegra_cec: 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:14 +02:00
..
cec-gpio media: cec-gpio: Convert to platform remove callback returning void 2023-04-11 16:59:13 +02:00
cros-ec media: cros-ec-cec: Convert to platform remove callback returning void 2023-04-11 16:59:13 +02:00
meson media: ao-cec: Convert to platform remove callback returning void 2023-04-11 16:59:13 +02:00
s5p media: s5p_cec: Convert to platform remove callback returning void 2023-04-11 16:59:13 +02:00
seco media: seco-cec: Convert to platform remove callback returning void 2023-04-11 16:59:13 +02:00
sti media: stih-cec: Convert to platform remove callback returning void 2023-04-11 16:59:13 +02:00
stm32 media: stm32-cec: Convert to platform remove callback returning void 2023-04-11 16:59:14 +02:00
tegra media: tegra_cec: Convert to platform remove callback returning void 2023-04-11 16:59:14 +02:00
Kconfig treewide: replace '---help---' in Kconfig files with 'help' 2020-06-14 01:57:21 +09:00
Makefile media: Makefiles: remove extra spaces 2022-03-12 16:59:52 +01:00