linux/drivers/soc
Uwe Kleine-König f1013d8405 soc/xilinx: zynqmp_power: 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>
Link: https://lore.kernel.org/r/20230925095532.1984344-41-u.kleine-koenig@pengutronix.de
Signed-off-by: Michal Simek <michal.simek@amd.com>
2023-11-15 13:57:25 +01:00
..
amlogic pmdomain: amlogic: Move Kconfig options to the pmdomain subsystem 2023-09-20 10:08:45 +02:00
apple pmdomain: apple: Move Kconfig option to the pmdomain subsystem 2023-09-20 10:08:49 +02:00
aspeed soc/aspeed: Convert to platform remove callback returning void 2023-10-13 15:04:12 +10:30
atmel soc: microchip: Explicitly include correct DT includes 2023-07-29 16:54:29 +03:00
bcm SoC driver updates for 6.7 2023-11-01 14:46:51 -10:00
canaan soc: canaan: Make K210_SYSCTL depend on CLK_K210 2023-03-15 14:22:53 +00:00
dove soc: dove: add missing of_node_put 2023-09-20 11:28:02 +02:00
fsl powerpc updates for 6.7 2023-11-03 10:07:39 -10:00
fujitsu soc/fujitsu: a64fx-diag: Convert to platform remove callback returning void 2023-10-14 23:27:01 +02:00
gemini
hisilicon SoC driver updates for 6.7 2023-11-01 14:46:51 -10:00
imx - Move Kconfig files into the pmdomain subsystem 2023-11-01 13:09:46 -10:00
ixp4xx soc/ixp4xx: ixp4xx-qmgr: Convert to platform remove callback returning void 2023-10-14 23:27:13 +02:00
lantiq
litex soc/litex: litex_soc_ctrl: Convert to platform remove callback returning void 2023-10-14 23:27:17 +02:00
loongson Convert drivers/soc to struct platform_driver::remove_new() 2023-10-16 22:51:31 +02:00
mediatek SoC driver updates for 6.7 2023-11-01 14:46:51 -10:00
microchip soc/microchip: mpfs-sys-controller: Convert to platform remove callback returning void 2023-09-25 11:17:09 +01:00
nuvoton soc: nuvoton: Add SoC info driver for WPCM450 2023-02-01 17:11:36 +01:00
pxa soc/pxa: ssp: Convert to platform remove callback returning void 2023-10-14 23:27:34 +02:00
qcom SoC driver updates for 6.7 2023-11-01 14:46:51 -10:00
renesas SoC driver updates for 6.7 2023-11-01 14:46:51 -10:00
rockchip SoC driver updates for 6.7 2023-11-01 14:46:51 -10:00
samsung SoC driver updates for 6.7 2023-11-01 14:46:51 -10:00
sifive soc: sifive: replace SOC_FOO with ARCH_FOO 2023-09-18 10:33:32 +01:00
sunxi pmdomain: sunxi: Move Kconfig option to the pmdomain subsystem 2023-10-04 23:41:56 +02:00
tegra SoC driver updates for 6.7 2023-11-01 14:46:51 -10:00
ti SoC driver updates for 6.7 2023-11-01 14:46:51 -10:00
ux500 ARM: ux500: do not directly dereference __iomem 2022-11-08 21:13:56 +01:00
versatile
xilinx soc/xilinx: zynqmp_power: Convert to platform remove callback returning void 2023-11-15 13:57:25 +01:00
Kconfig pmdomain: starfive: Move Kconfig file to the pmdomain subsystem 2023-10-04 23:41:56 +02:00
Makefile HiSilicon driver updates for v6.6 2023-08-12 12:10:46 +02:00