mirror of
https://github.com/raspberrypi/linux.git
synced 2025-12-06 10:00:17 +00:00
perf: 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/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>
This commit is contained in:
committed by
Will Deacon
parent
9643aaa194
commit
845fd2cbed
@@ -1529,7 +1529,7 @@ static struct platform_driver arm_ccn_driver = {
|
||||
.suppress_bind_attrs = true,
|
||||
},
|
||||
.probe = arm_ccn_probe,
|
||||
.remove_new = arm_ccn_remove,
|
||||
.remove = arm_ccn_remove,
|
||||
};
|
||||
|
||||
static int __init arm_ccn_init(void)
|
||||
|
||||
Reference in New Issue
Block a user