linux-stable/drivers/remoteproc
Uwe Kleine-König 07336df669 remoteproc: qcom_wcnss: 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: Caleb Connolly <caleb.connolly@linaro.org>
Link: https://lore.kernel.org/r/20230504194453.1150368-14-u.kleine-koenig@pengutronix.de
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
2023-05-09 13:35:10 -06:00
..
da8xx_remoteproc.c remoteproc: da8xx: Convert to platform remove callback returning void 2023-05-09 11:45:22 -06:00
imx_dsp_rproc.c remoteproc: imx_dsp: Convert to platform remove callback returning void 2023-05-09 11:46:40 -06:00
imx_rproc.c remoteproc: imx: Convert to platform remove callback returning void 2023-05-09 11:47:27 -06:00
imx_rproc.h remoteproc: imx_rproc: Add IMX_RPROC_SCU_API method 2021-10-12 09:16:13 -06:00
ingenic_rproc.c remoteproc: ingenic: Request IRQ disabled 2021-12-06 10:17:44 -07:00
Kconfig drivers: remoteproc: Add Xilinx r5 remoteproc driver 2022-11-25 09:12:05 -07:00
keystone_remoteproc.c remoteproc: keystone: Convert to platform remove callback returning void 2023-05-09 11:48:38 -06:00
Makefile drivers: remoteproc: Add Xilinx r5 remoteproc driver 2022-11-25 09:12:05 -07:00
meson_mx_ao_arc.c remoteproc: meson_mx_ao_arc: Convert to platform remove callback returning void 2023-05-09 13:17:22 -06:00
mtk_common.h remoteproc: mediatek: Fix side effect of mt8195 sram power on 2022-04-11 09:56:42 -06:00
mtk_scp_ipi.c remoteproc/mtk_scpi_ipi: Fix one kernel-doc comment 2023-03-16 12:12:18 -06:00
mtk_scp.c remoteproc: mtk_scp: Convert to platform remove callback returning void 2023-05-09 13:28:25 -06:00
omap_remoteproc.c remoteproc: omap: Convert to platform remove callback returning void 2023-05-09 13:30:06 -06:00
omap_remoteproc.h remoteproc/omap: Switch to SPDX license identifiers 2020-03-25 22:29:51 -07:00
pru_rproc.c remoteproc: pru: Convert to platform remove callback returning void 2023-05-09 13:30:49 -06:00
pru_rproc.h remoteproc: pru: Add support for PRU specific interrupt configuration 2020-12-10 10:56:01 -06:00
qcom_common.c remoteproc: qcom: pas: Adjust the phys addr wrt the mem region 2023-02-14 09:04:29 -08:00
qcom_common.h remoteproc updates for v6.3 2023-02-26 12:18:36 -08:00
qcom_pil_info.c remoteproc: qcom: pil_info: Don't memcpy_toio more than is provided 2021-12-13 16:58:05 -06:00
qcom_pil_info.h remoteproc: qcom: Introduce helper to store pil info in IMEM 2020-07-01 22:10:18 -07:00
qcom_q6v5_adsp.c remoteproc: qcom_q6v5_adsp: Convert to platform remove callback returning void 2023-05-09 13:31:33 -06:00
qcom_q6v5_mss.c remoteproc: qcom_q6v5_mss: Convert to platform remove callback returning void 2023-05-09 13:32:34 -06:00
qcom_q6v5_pas.c remoteproc: qcom_q6v5_pas: Convert to platform remove callback returning void 2023-05-09 13:33:30 -06:00
qcom_q6v5_wcss.c remoteproc: qcom_q6v5_wcss: Convert to platform remove callback returning void 2023-05-09 13:34:27 -06:00
qcom_q6v5.c remoteproc: qcom: q6v5: Avoid setting smem bit in case of crash shutdown 2022-12-28 09:59:04 -06:00
qcom_q6v5.h remoteproc: qcom: q6v5: Add interconnect path proxy vote 2022-03-11 14:22:03 -06:00
qcom_sysmon.c remoteproc: move from strlcpy with unused retval to strscpy 2022-12-28 09:47:21 -06:00
qcom_wcnss_iris.c remoteproc: qcom: wcnss: Fix race with iris probe 2021-07-28 14:57:30 -05:00
qcom_wcnss.c remoteproc: qcom_wcnss: Convert to platform remove callback returning void 2023-05-09 13:35:10 -06:00
qcom_wcnss.h remoteproc: qcom: wcnss: remove unused qcom_iris_driver declaration 2022-12-28 09:50:07 -06:00
rcar_rproc.c remoteproc: rcar_rproc: Call of_node_put() on iteration error 2023-04-03 10:50:47 -06:00
remoteproc_cdev.c remoteproc: core: Move state checking to remoteproc_core 2022-04-14 11:13:33 -06:00
remoteproc_core.c remoteproc: remove MODULE_LICENSE in non-modules 2023-04-13 13:13:53 -07:00
remoteproc_coredump.c ELF: fix all "Elf" typos 2023-04-08 13:45:37 -07:00
remoteproc_debugfs.c remoteproc: Don't bother checking the return value of debugfs_create* 2022-04-11 10:04:40 -06:00
remoteproc_elf_helpers.h remoteproc: fix an typo in fw_elf_get_class code comments 2021-07-28 14:57:30 -05:00
remoteproc_elf_loader.c ELF: fix all "Elf" typos 2023-04-08 13:45:37 -07:00
remoteproc_internal.h remoteproc: Introduce rproc features 2022-09-28 10:46:21 -06:00
remoteproc_sysfs.c remoteproc: core: Move state checking to remoteproc_core 2022-04-14 11:13:33 -06:00
remoteproc_virtio.c remoteproc: virtio: Fix warning on bindings by removing the of_match_table 2022-10-05 09:20:44 -06:00
st_remoteproc.c remoteproc: st: Use of_property_present() for testing DT property presence 2023-04-18 18:56:51 -07:00
st_slim_rproc.c remoteproc: Fix remaining wrong return formatting in documentation 2021-12-08 10:09:40 -07:00
stm32_rproc.c remoteproc: stm32_rproc: Add mutex protection for workqueue 2023-04-03 11:03:50 -06:00
ti_k3_dsp_remoteproc.c remoteproc: k3-c7x: Add support for C7xv DSP on AM62A SoC 2023-01-13 14:16:44 -07:00
ti_k3_r5_remoteproc.c remoteproc: k3-r5: Use separate compatible string for TI AM62x SoC family 2023-03-29 17:18:26 -06:00
ti_sci_proc.h remoteproc: k3: Add TI-SCI processor control helper functions 2020-07-28 17:06:43 -07:00
wkup_m3_rproc.c remoteproc: wkup_m3: Set sysfs_read_only flag 2022-03-04 09:28:32 -07:00
xlnx_r5_remoteproc.c remoteproc: Remove unnecessary (void*) conversions 2023-04-03 11:01:08 -06:00