]> www.infradead.org Git - users/jedix/linux-maple.git/commit
cpufreq: Switch back to struct platform_driver::remove()
authorUwe Kleine-König <u.kleine-koenig@baylibre.com>
Sun, 20 Oct 2024 15:39:10 +0000 (17:39 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 28 Oct 2024 11:24:39 +0000 (12:24 +0100)
commita9dedaa07b5e6034dbdd482c23aa3936958292ac
tree09d5ac91585c670e5c75b33091000534af1176a5
parent8d5459f1a7f0831562d6d3f7917606708e79ccd5
cpufreq: 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/cpufreq 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.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@baylibre.com>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Link: https://patch.msgid.link/20241020153910.324096-2-u.kleine-koenig@baylibre.com
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
20 files changed:
drivers/cpufreq/acpi-cpufreq.c
drivers/cpufreq/brcmstb-avs-cpufreq.c
drivers/cpufreq/cpufreq-dt.c
drivers/cpufreq/davinci-cpufreq.c
drivers/cpufreq/imx-cpufreq-dt.c
drivers/cpufreq/imx6q-cpufreq.c
drivers/cpufreq/kirkwood-cpufreq.c
drivers/cpufreq/loongson3_cpufreq.c
drivers/cpufreq/mediatek-cpufreq-hw.c
drivers/cpufreq/omap-cpufreq.c
drivers/cpufreq/pcc-cpufreq.c
drivers/cpufreq/qcom-cpufreq-hw.c
drivers/cpufreq/qcom-cpufreq-nvmem.c
drivers/cpufreq/qoriq-cpufreq.c
drivers/cpufreq/raspberrypi-cpufreq.c
drivers/cpufreq/scpi-cpufreq.c
drivers/cpufreq/sun50i-cpufreq-nvmem.c
drivers/cpufreq/tegra186-cpufreq.c
drivers/cpufreq/tegra194-cpufreq.c
drivers/cpufreq/vexpress-spc-cpufreq.c