linux/drivers/media/platform
Uwe Kleine-König 0c43a7413c media: dw100: 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>
Reviewed-by: Xavier Roumegue <xavier.roumegue@oss.nxp.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
2023-04-11 16:59:15 +02:00
..
allegro-dvt media: allegro-core: Convert to platform remove callback returning void 2023-04-11 16:59:14 +02:00
amlogic media: ge2d: Convert to platform remove callback returning void 2023-04-11 16:59:14 +02:00
amphion media: vpu_drv: Convert to platform remove callback returning void 2023-04-11 16:59:14 +02:00
aspeed media: aspeed-video: Convert to platform remove callback returning void 2023-04-11 16:59:14 +02:00
atmel media: atmel-isi: Convert to platform remove callback returning void 2023-04-11 16:59:14 +02:00
cadence media: cdns-csi2tx: Convert to platform remove callback returning void 2023-04-11 16:59:14 +02:00
chips-media media: coda-common: Convert to platform remove callback returning void 2023-04-11 16:59:14 +02:00
intel media: pxa_camera: Convert to platform remove callback returning void 2023-04-11 16:59:14 +02:00
marvell media: marvell: Convert to platform remove callback returning void 2023-04-11 16:59:15 +02:00
mediatek media: mtk_vpu: Convert to platform remove callback returning void 2023-04-11 16:59:15 +02:00
microchip media: microchip-sama7g5-isc: Convert to platform remove callback returning void 2023-04-11 16:59:15 +02:00
nvidia media: vde: Convert to platform remove callback returning void 2023-04-11 16:59:15 +02:00
nxp media: dw100: Convert to platform remove callback returning void 2023-04-11 16:59:15 +02:00
qcom media: Revert "venus: firmware: Correct non-pix start and end addresses" 2023-03-18 08:43:44 +01:00
renesas media: platform: renesas: use devm_platform_get_and_ioremap_resource() 2023-03-19 22:53:03 +01:00
rockchip media: rkisp1: make a few const arrays static 2023-02-08 07:29:23 +01:00
samsung media: samsung: exynos4-is: drop simple-bus from compatibles 2023-03-20 15:28:17 +01:00
st media: stm32: dma2d: remove unused fb_buf 2023-03-20 00:22:13 +01:00
sunxi media: sun4i-csi: Fix 'Unbalanced pm_runtime_enable!' 2023-02-08 07:30:13 +01:00
ti media updates for v6.3-rc1 2023-02-26 11:47:26 -08:00
verisilicon media: verisilicon: VP9: Only propose 10 bits compatible pixels formats 2023-04-10 14:19:27 +01:00
via media: platform: via: Handle error for dma_set_mask 2023-03-19 22:56:21 +01:00
xilinx media: xilinx: dma: Use media_pipeline_for_each_pad() 2023-02-06 08:35:19 +01:00
Kconfig media: atmel: move microchip_csi2dc to dedicated microchip platform 2022-11-25 07:43:17 +00:00
m2m-deinterlace.c media: m2m-deinterlace: Convert to platform remove callback returning void 2023-04-11 16:59:15 +02:00
Makefile media: atmel: move microchip_csi2dc to dedicated microchip platform 2022-11-25 07:43:17 +00:00
video-mux.c media: mc-entity: Rename media_entity_remote_pad() to media_pad_remote_pad_first() 2022-07-17 11:21:35 +01:00