aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/perf/amlogic/meson_g12_ddr_pmu.c
diff options
context:
space:
mode:
authorUwe Kleine-König <[email protected]>2024-10-27 18:03:14 +0000
committerWill Deacon <[email protected]>2024-11-06 14:16:20 +0000
commit845fd2cbedaf299ee61680a678b279dfeb6fe77c (patch)
tree69998d67f1c24e04c262bcd6974685c8dff56eb2 /drivers/perf/amlogic/meson_g12_ddr_pmu.c
parentperf: arm_pmuv3: Add support for Samsung Mongoose PMU (diff)
downloadkernel-845fd2cbedaf299ee61680a678b279dfeb6fe77c.tar.gz
kernel-845fd2cbedaf299ee61680a678b279dfeb6fe77c.zip
perf: 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/perf 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 <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Will Deacon <[email protected]>
Diffstat (limited to 'drivers/perf/amlogic/meson_g12_ddr_pmu.c')
-rw-r--r--drivers/perf/amlogic/meson_g12_ddr_pmu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/perf/amlogic/meson_g12_ddr_pmu.c b/drivers/perf/amlogic/meson_g12_ddr_pmu.c
index 99cc791892bc..f33e9a456e85 100644
--- a/drivers/perf/amlogic/meson_g12_ddr_pmu.c
+++ b/drivers/perf/amlogic/meson_g12_ddr_pmu.c
@@ -379,7 +379,7 @@ MODULE_DEVICE_TABLE(of, meson_ddr_pmu_dt_match);
static struct platform_driver g12_ddr_pmu_driver = {
.probe = g12_ddr_pmu_probe,
- .remove_new = g12_ddr_pmu_remove,
+ .remove = g12_ddr_pmu_remove,
.driver = {
.name = "meson-g12-ddr-pmu",