linux/drivers/edac
Uwe Kleine-König 524d3e56fb EDAC/octeon-pci: 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: Borislav Petkov (AMD) <bp@alien8.de>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Link: https://lore.kernel.org/r/20231004131254.2673842-16-u.kleine-koenig@pengutronix.de
2023-11-20 23:11:21 +01:00
..
al_mc_edac.c
altera_edac.c EDAC/altera: Convert to platform remove callback returning void 2023-11-20 19:43:18 +01:00
altera_edac.h
amd64_edac.c EDAC/amd64: Add support for AMD family 1Ah models 00h-1Fh and 40h-4Fh 2023-08-10 14:25:21 +02:00
amd64_edac.h - Add initial support for RAS hardware found on AMD server GPUs (MI200). 2023-06-26 15:09:18 -07:00
amd76x_edac.c
amd8111_edac.c
amd8111_edac.h
amd8131_edac.c
amd8131_edac.h
armada_xp_edac.c EDAC/armada_xp: Convert to platform remove callback returning void 2023-11-20 20:07:53 +01:00
aspeed_edac.c EDAC/aspeed: Convert to platform remove callback returning void 2023-11-20 21:26:01 +01:00
bluefield_edac.c EDAC/bluefield: Convert to platform remove callback returning void 2023-11-20 21:28:08 +01:00
cell_edac.c EDAC/cell: Convert to platform remove callback returning void 2023-11-20 21:39:13 +01:00
cpc925_edac.c EDAC/cpc925: Convert to platform remove callback returning void 2023-11-20 21:56:49 +01:00
debugfs.c
dmc520_edac.c EDAC/dmc520: Convert to platform remove callback returning void 2023-11-20 22:01:16 +01:00
e7xxx_edac.c
e752x_edac.c
edac_device.c
edac_device.h
edac_device_sysfs.c
edac_mc.c
edac_mc.h
edac_mc_sysfs.c EDAC/mc_sysfs: Replace deprecated strncpy() with memcpy() 2023-09-29 14:48:32 -07:00
edac_module.c
edac_module.h
edac_pci.c
edac_pci.h
edac_pci_sysfs.c
fsl_ddr_edac.c EDAC: Explicitly include correct DT includes 2023-08-28 13:31:01 -05:00
fsl_ddr_edac.h
ghes_edac.c
highbank_l2_edac.c EDAC/highbank_l2: Convert to platform remove callback returning void 2023-11-20 22:33:22 +01:00
highbank_mc_edac.c EDAC/highbank_mc: Convert to platform remove callback returning void 2023-11-20 22:33:52 +01:00
i7core_edac.c
i10nm_base.c Intel EDAC fixes: 2023-08-30 19:23:00 -07:00
i3000_edac.c
i3200_edac.c
i5000_edac.c
i5100_edac.c
i5400_edac.c
i7300_edac.c
i82443bxgx_edac.c
i82860_edac.c
i82875p_edac.c
i82975x_edac.c
ie31200_edac.c
igen6_edac.c EDAC/igen6: Fix the issue of no error events 2023-08-02 13:09:56 -07:00
Kconfig EDAC/versal: Add a Xilinx Versal memory controller driver 2023-10-23 19:41:27 +02:00
layerscape_edac.c
Makefile EDAC/versal: Add a Xilinx Versal memory controller driver 2023-10-23 19:41:27 +02:00
mce_amd.c x86/MCE/AMD, EDAC/mce_amd: Decode UMC_V2 ECC errors 2023-06-05 12:27:11 +02:00
mce_amd.h
mpc85xx_edac.c EDAC/mpc85xx: Convert to platform remove callback returning void 2023-11-20 22:44:37 +01:00
mpc85xx_edac.h
npcm_edac.c EDAC/npcm: Convert to platform remove callback returning void 2023-11-20 22:52:14 +01:00
octeon_edac-l2c.c EDAC/octeon-l2c: Convert to platform remove callback returning void 2023-11-20 23:09:07 +01:00
octeon_edac-lmc.c EDAC/octeon-lmc: Convert to platform remove callback returning void 2023-11-20 23:09:49 +01:00
octeon_edac-pc.c EDAC/octeon-pc: Convert to platform remove callback returning void 2023-11-20 23:10:37 +01:00
octeon_edac-pci.c EDAC/octeon-pci: Convert to platform remove callback returning void 2023-11-20 23:11:21 +01:00
pasemi_edac.c
pnd2_edac.c
pnd2_edac.h
ppc4xx_edac.c
ppc4xx_edac.h
qcom_edac.c EDAC/qcom: Get rid of hardcoded register offsets 2023-05-26 20:56:55 -07:00
r82600_edac.c
sb_edac.c
sifive_edac.c
skx_base.c
skx_common.c
skx_common.h
synopsys_edac.c EDAC: Explicitly include correct DT includes 2023-08-28 13:31:01 -05:00
thunderx_edac.c EDAC/thunderx: Check debugfs file creation retval properly 2023-06-06 23:04:56 +02:00
ti_edac.c
versal_edac.c EDAC/versal: Add a Xilinx Versal memory controller driver 2023-10-23 19:41:27 +02:00
wq.c
x38_edac.c
xgene_edac.c
zynqmp_edac.c