linux-stable/drivers/soc
Uwe Kleine-König db758b73f8 soc/loongson: loongson2_guts: 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.

Link: https://lore.kernel.org/r/20230925095532.1984344-14-u.kleine-koenig@pengutronix.de
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
2023-10-14 23:27:21 +02:00
..
actions genpd: move owl-sps-helper.c from drivers/soc 2023-07-26 14:41:01 +02:00
amlogic soc: amlogic: Explicitly include correct DT includes 2023-08-04 15:18:42 +02:00
apple soc: apple: Move power-domain driver to the genpd dir 2023-07-11 15:30:09 +02:00
aspeed ARM: SoC cleanups for 6.6 2023-08-30 16:49:40 -07:00
atmel soc: microchip: Explicitly include correct DT includes 2023-07-29 16:54:29 +03:00
bcm soc: bcm: Move power-domain drivers to the genpd dir 2023-07-11 15:30:09 +02:00
canaan soc: canaan: Make K210_SYSCTL depend on CLK_K210 2023-03-15 14:22:53 +00:00
dove
fsl soc/fsl: cpm: tsa: Convert to platform remove callback returning void 2023-10-14 23:26:57 +02:00
fujitsu soc/fujitsu: a64fx-diag: Convert to platform remove callback returning void 2023-10-14 23:27:01 +02:00
gemini
hisilicon soc/hisilicon: kunpeng_hccs: Convert to platform remove callback returning void 2023-10-14 23:27:05 +02:00
imx soc: imx: imx8mp-blk-ctrl: register HSIO PLL clock as bus_power_dev child 2023-07-19 15:44:02 +08: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 soc/loongson: loongson2_guts: Convert to platform remove callback returning void 2023-10-14 23:27:21 +02:00
mediatek ARM: SoC cleanups for 6.6 2023-08-30 16:49:40 -07:00
microchip soc: microchip: Explicitly include correct DT includes 2023-07-29 16:54:29 +03:00
nuvoton soc: nuvoton: Add SoC info driver for WPCM450 2023-02-01 17:11:36 +01:00
pxa pxa: Remove dev_err() after platform_get_irq() 2022-12-04 13:10:57 +01:00
qcom This pull request is full of clk driver changes. In fact, there aren't any 2023-08-30 19:53:39 -07:00
renesas soc: renesas: Kconfig: For ARCH_R9A07G043 select the required configs if dependencies are met 2023-09-08 11:25:29 -07:00
rockchip ARM: SoC cleanups for 6.6 2023-08-30 16:49:40 -07:00
samsung Samsung SoC driver changes for v6.6 2023-08-12 12:09:43 +02:00
sifive soc: sifive: ccache: Add StarFive JH7110 support 2022-12-26 22:50:15 +00:00
starfive soc: starfive: Move the power-domain driver to the genpd dir 2023-07-14 10:40:56 +02:00
sunxi - simplify code in sunxi-rsb 2023-08-12 12:07:58 +02:00
tegra soc/tegra: Changes for v6.6-rc1 2023-08-12 12:01:51 +02:00
ti TI SoC driver updates for v6.6 2023-08-14 18:26:27 +02:00
ux500 ARM: ux500: do not directly dereference __iomem 2022-11-08 21:13:56 +01:00
versatile
xilinx arm64: ZynqMP SoC changes for 6.6 2023-08-12 12:02:53 +02:00
Kconfig soc: hisilicon: Support HCCS driver on Kunpeng SoC 2023-08-08 12:36:29 +00:00
Makefile HiSilicon driver updates for v6.6 2023-08-12 12:10:46 +02:00