diff options
author | 2024-10-27 19:03:14 +0100 | |
---|---|---|
committer | 2024-11-06 14:16:20 +0000 | |
commit | 845fd2cbedaf299ee61680a678b279dfeb6fe77c (patch) | |
tree | 69998d67f1c24e04c262bcd6974685c8dff56eb2 /drivers/perf/fsl_imx8_ddr_perf.c | |
parent | perf: arm_pmuv3: Add support for Samsung Mongoose PMU (diff) | |
download | linux-rng-845fd2cbedaf299ee61680a678b279dfeb6fe77c.tar.xz linux-rng-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 <u.kleine-koenig@baylibre.com>
Link: https://lore.kernel.org/r/20241027180313.410964-2-u.kleine-koenig@baylibre.com
Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'drivers/perf/fsl_imx8_ddr_perf.c')
-rw-r--r-- | drivers/perf/fsl_imx8_ddr_perf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/perf/fsl_imx8_ddr_perf.c b/drivers/perf/fsl_imx8_ddr_perf.c index 746b92330ca7..b989ffa95d69 100644 --- a/drivers/perf/fsl_imx8_ddr_perf.c +++ b/drivers/perf/fsl_imx8_ddr_perf.c @@ -846,7 +846,7 @@ static struct platform_driver imx_ddr_pmu_driver = { .suppress_bind_attrs = true, }, .probe = ddr_perf_probe, - .remove_new = ddr_perf_remove, + .remove = ddr_perf_remove, }; module_platform_driver(imx_ddr_pmu_driver); |