]> www.infradead.org Git - users/jedix/linux-maple.git/commit
thermal: Switch back to struct platform_driver::remove()
authorUwe Kleine-König <u.kleine-koenig@baylibre.com>
Sat, 19 Oct 2024 16:34:11 +0000 (18:34 +0200)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Wed, 13 Nov 2024 15:17:57 +0000 (16:17 +0100)
commitdd64594ca2c5b952570c3b885763b93ebe26fe9a
tree5570cb929a686f0a914620b6535a144461672bd2
parent62d9748fa1eea751400518b5ffe6825ce3e48deb
thermal: Switch back to struct platform_driver::remove()

After commit 0edb555a65d1 ("platform: Make platform_driver::remove()
return void") .remove() is (again) the right callback to implement for
platform drivers.

Convert all platform drivers below drivers/thermal 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 make a few whitespace changes to make indention consistent.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@baylibre.com>
Link: https://lore.kernel.org/r/20241019163412.304422-2-u.kleine-koenig@baylibre.com
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
32 files changed:
drivers/thermal/amlogic_thermal.c
drivers/thermal/armada_thermal.c
drivers/thermal/broadcom/bcm2835_thermal.c
drivers/thermal/broadcom/ns-thermal.c
drivers/thermal/da9062-thermal.c
drivers/thermal/dove_thermal.c
drivers/thermal/hisi_thermal.c
drivers/thermal/imx8mm_thermal.c
drivers/thermal/imx_thermal.c
drivers/thermal/intel/int340x_thermal/int3400_thermal.c
drivers/thermal/intel/int340x_thermal/int3401_thermal.c
drivers/thermal/intel/int340x_thermal/int3402_thermal.c
drivers/thermal/intel/int340x_thermal/int3403_thermal.c
drivers/thermal/intel/int340x_thermal/int3406_thermal.c
drivers/thermal/k3_bandgap.c
drivers/thermal/k3_j72xx_bandgap.c
drivers/thermal/kirkwood_thermal.c
drivers/thermal/mediatek/lvts_thermal.c
drivers/thermal/qcom/tsens.c
drivers/thermal/renesas/rcar_gen3_thermal.c
drivers/thermal/renesas/rcar_thermal.c
drivers/thermal/renesas/rzg2l_thermal.c
drivers/thermal/rockchip_thermal.c
drivers/thermal/samsung/exynos_tmu.c
drivers/thermal/spear_thermal.c
drivers/thermal/sprd_thermal.c
drivers/thermal/st/st_thermal_memmap.c
drivers/thermal/st/stm_thermal.c
drivers/thermal/tegra/soctherm.c
drivers/thermal/tegra/tegra-bpmp-thermal.c
drivers/thermal/ti-soc-thermal/ti-bandgap.c
drivers/thermal/uniphier_thermal.c