mirror_ubuntu-kernels/drivers/media/platform/xilinx
Uwe Kleine-König b8368fbee7 media: xilinx-vipp: 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:20 +02:00
..
Kconfig media: Kconfig: cleanup VIDEO_DEV dependencies 2022-03-18 05:58:35 +01:00
Makefile media: v4l: xilinx: Add Xilinx MIPI CSI-2 Rx Subsystem driver 2020-06-23 13:11:46 +02:00
xilinx-csi2rxss.c media: xilinx-csi2rxss: Convert to platform remove callback returning void 2023-04-11 16:59:20 +02:00
xilinx-dma.c media: xilinx: dma: Use media_pipeline_for_each_pad() 2023-02-06 08:35:19 +01:00
xilinx-dma.h media: drivers: use video_device_pipeline() 2022-09-24 09:14:59 +02:00
xilinx-tpg.c media: xilinx-tpg: Convert to platform remove callback returning void 2023-04-11 16:59:20 +02:00
xilinx-vip.c media: xilinx: video: Add 1X12 greyscale format 2022-08-30 16:17:20 +02:00
xilinx-vip.h media: xilinx: Drop unexpected word 'with' in comments 2022-07-08 17:57:06 +01:00
xilinx-vipp.c media: xilinx-vipp: Convert to platform remove callback returning void 2023-04-11 16:59:20 +02:00
xilinx-vipp.h media: xilinx: Use the correct style for SPDX License Identifier 2019-11-05 08:30:51 -03:00
xilinx-vtc.c media: xilinx: Use SPDX-License-Identifier 2018-12-03 13:40:05 -05:00
xilinx-vtc.h media: xilinx: Use the correct style for SPDX License Identifier 2019-11-05 08:30:51 -03:00