linux/drivers/pmdomain
Uwe Kleine-König 833811353f pmdomain: xilinx/zynqmp: 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>
Acked-by: Michal Simek <michal.simek@amd.com>
Link: https://lore.kernel.org/r/20231124080623.564924-10-u.kleine-koenig@pengutronix.de
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
2023-11-30 12:15:36 +01:00
..
actions pmdomain: Use device_get_match_data() 2023-10-17 11:45:11 +02:00
amlogic pmdomain: amlogic: meson-ee-pwrc: add support for G12A ISP power domain 2023-11-30 12:05:21 +01:00
apple pmdomain: apple: Move Kconfig option to the pmdomain subsystem 2023-09-20 10:08:49 +02:00
arm pmdomain: Merge branch fixes into next 2023-11-27 16:28:51 +01:00
bcm pmdomain: Merge branch fixes into next 2023-10-26 16:01:03 +02:00
imx pmdomain: imx93-pd: Convert to platform remove callback returning void 2023-11-30 12:15:35 +01:00
mediatek pmdomain: mediatek: Add support for MT8365 2023-10-17 11:41:42 +02:00
qcom pmdomain: qcom-cpr: Convert to platform remove callback returning void 2023-11-30 12:15:36 +01:00
renesas pmdomain: renesas: rmobile-sysc: fix -Wvoid-pointer-to-enum-cast warning 2023-10-04 23:41:57 +02:00
rockchip pmdomain: Use device_get_match_data() 2023-10-17 11:45:11 +02:00
samsung pmdomain: samsung: Move Kconfig option to the pmdomain subsystem 2023-10-04 23:41:56 +02:00
st pmdomain: st: Add a Kconfig option for the ux500 power domain 2023-10-04 23:41:56 +02:00
starfive pmdomain: starfive: Update prefixes for AON power domain 2023-10-04 23:41:57 +02:00
sunxi pmdomain: sunxi: Move Kconfig option to the pmdomain subsystem 2023-10-04 23:41:56 +02:00
tegra pmdomain: tegra: Move Kconfig option to the pmdomain subsystem 2023-10-04 23:41:56 +02:00
ti pmdomain: ti: add missing of_node_put 2023-10-17 11:42:29 +02:00
xilinx pmdomain: xilinx/zynqmp: Convert to platform remove callback returning void 2023-11-30 12:15:36 +01:00
Kconfig pmdomain: arm_scmi: Move Kconfig options to the pmdomain subsystem 2023-11-23 17:32:53 +01:00
Makefile pmdomain: arm: Add the SCMI performance domain 2023-09-21 16:35:14 +01:00