linux-stable/drivers/soc/aspeed
Uwe Kleine-König 511c06e390
soc: Switch back to struct platform_driver::remove()
After commit 0edb555a65 ("platform: Make platform_driver::remove()
return void") .remove() is (again) the right callback to implement for
platform drivers.

Convert all platform drivers below drivers/soc to use .remove(), with
the eventual goal to drop struct platform_driver::remove_new(). As
.remove() and .remove_new() have the same prototypes, conversion is done
by just changing the structure member name in the driver initializer.

On the way do a few whitespace changes to make indention consistent.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@baylibre.com>
Acked-by: Heiko Stuebner <heiko@sntech.de>
Acked-by: Herve Codina <herve.codina@bootlin.com> # for fsl/qe/{qmc,tsa}.c
Acked-by: Bjorn Andersson <andersson@kernel.org> # qcom parts
Acked-by: Gabriel Somlo <gsomlo@gmail.com>
Acked-by: Andrew Jeffery <andrew@codeconstruct.com.au> # aspeed
Link: https://lore.kernel.org/r/20241029074859.509587-2-u.kleine-koenig@baylibre.com
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2024-11-01 17:08:57 +01:00
..
aspeed-lpc-ctrl.c soc: Switch back to struct platform_driver::remove() 2024-11-01 17:08:57 +01:00
aspeed-lpc-snoop.c soc: Switch back to struct platform_driver::remove() 2024-11-01 17:08:57 +01:00
aspeed-p2a-ctrl.c soc: Switch back to struct platform_driver::remove() 2024-11-01 17:08:57 +01:00
aspeed-socinfo.c soc: aspeed: socinfo: Add kfree for kstrdup 2023-08-12 12:12:58 +02:00
aspeed-uart-routing.c soc: Switch back to struct platform_driver::remove() 2024-11-01 17:08:57 +01:00
Kconfig soc: aspeed: Add UART routing support 2021-10-22 17:32:09 +02:00
Makefile soc: aspeed: Add UART routing support 2021-10-22 17:32:09 +02:00