diff options
author | Uwe Kleine-König <u.kleine-koenig@baylibre.com> | 2024-10-21 12:39:53 +0200 |
---|---|---|
committer | Borislav Petkov (AMD) <bp@alien8.de> | 2024-10-21 17:20:30 +0200 |
commit | cdccaab0631812e911553ff56683e9005cd3a51e (patch) | |
tree | 2d11b250530b208d4f489975c8a0efcec6b91c96 /arch/x86/platform/iris/iris.c | |
parent | 42f7652d3eb527d03665b09edac47f85fb600924 (diff) |
x86/platform: Switch back to struct platform_driver::remove()
After
0edb555a65d1 ("platform: Make platform_driver::remove() return void")
.remove() is (again) the right callback to implement for platform drivers.
Convert all platform drivers below arch/x86 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>
Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Link: https://lore.kernel.org/r/20241021103954.403577-2-u.kleine-koenig@baylibre.com
Diffstat (limited to 'arch/x86/platform/iris/iris.c')
-rw-r--r-- | arch/x86/platform/iris/iris.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/platform/iris/iris.c b/arch/x86/platform/iris/iris.c index c5f3bbdbdcfe..5591a2d9cfe8 100644 --- a/arch/x86/platform/iris/iris.c +++ b/arch/x86/platform/iris/iris.c @@ -73,7 +73,7 @@ static struct platform_driver iris_driver = { .name = "iris", }, .probe = iris_probe, - .remove_new = iris_remove, + .remove = iris_remove, }; static struct resource iris_resources[] = { |