linux/drivers/media/platform
Uwe Kleine-König 8796f3357f media: ti: j721e-csi2rx: 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>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
2024-02-28 16:00:32 +01:00
..
allegro-dvt media: allegro: Annotate struct mcu_msg_push_buffers_internal with __counted_by 2023-10-07 10:55:45 +02:00
amlogic media: ge2d: Convert to platform remove callback returning void 2023-04-11 16:59:14 +02:00
amphion media: amphion: Abort vpu parsing directly in seek 2024-02-16 11:46:32 +01:00
aspeed media: videobuf2: core: Rename min_buffers_needed field in vb2_queue 2023-12-13 17:31:27 +01:00
atmel media: platform: replace of_graph_get_next_endpoint() 2024-02-23 14:33:32 +01:00
cadence media: cadence: csi2rx: Add enum_mbus_code pad ops 2024-01-22 17:23:59 +01:00
chips-media media: chips-media: wave5: Convert to platform remove callback returning void 2024-02-28 08:44:53 +01:00
intel media: platform: replace of_graph_get_next_endpoint() 2024-02-23 14:33:32 +01:00
marvell media: v4l: marvell: select CONFIG_V4L2_ASYNC where needed 2024-02-16 11:46:33 +01:00
mediatek media: mediatek: vcodec: Remove unneeded semicolon 2024-02-16 11:46:31 +01:00
microchip media: videobuf2: core: Rename min_buffers_needed field in vb2_queue 2023-12-13 17:31:27 +01:00
nuvoton media: nuvoton: Convert to platform remove callback returning void 2024-02-28 16:00:32 +01:00
nvidia media: vde: Use struct_size() 2023-11-23 13:33:38 +01:00
nxp media: nxp: imx8-isi: Convert to platform remove callback returning void 2024-02-28 16:00:32 +01:00
qcom media: qcom: venus: Fix kerneldoc 2024-02-05 12:57:45 +01:00
renesas media: rcar-csi2: Move driver to renesas directory 2024-02-16 11:46:32 +01:00
rockchip media: rkisp1: Add match data for i.MX8MP ISP 2024-02-23 14:23:34 +02:00
samsung media: platform: replace of_graph_get_next_endpoint() 2024-02-23 14:33:32 +01:00
st media: stm32-dcmipp: Convert to platform remove callback returning void 2024-02-28 16:00:32 +01:00
sunxi media: sun8i-di: Fix chroma difference threshold 2024-02-16 11:46:31 +01:00
ti media: ti: j721e-csi2rx: Convert to platform remove callback returning void 2024-02-28 16:00:32 +01:00
verisilicon media: verisilicon: Fix kerneldoc 2024-02-05 12:57:45 +01:00
via media: via: Use correct dependency for camera sensor drivers 2023-09-14 12:38:17 +02:00
xilinx media: platform: xilinx: Fix Kconfig indentation 2024-01-22 17:23:59 +01:00
Kconfig media: nuvoton: Add driver for NPCM video capture and encoding engine 2023-09-27 09:40:02 +02:00
m2m-deinterlace.c media: m2m-deinterlace: Convert to platform remove callback returning void 2023-04-11 16:59:15 +02:00
Makefile media: nuvoton: Add driver for NPCM video capture and encoding engine 2023-09-27 09:40:02 +02:00
video-mux.c media: v4l2-subdev: Rename .init_cfg() operation to .init_state() 2023-12-04 10:37:47 +01:00