diff options
author | Uwe Kleine-König <u.kleine-koenig@baylibre.com> | 2024-11-12 11:35:19 +0300 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2024-11-12 17:53:37 +0300 |
commit | 1fac9f8b7d28402c5f29173f06a784cd3b561e38 (patch) | |
tree | b3653d6c5477a469999e25b06eb1cf10d8e162a0 /drivers/bus/hisi_lpc.c | |
parent | 71ad2b07a87c200aba227143ee12d122d9707ba4 (diff) | |
download | linux-1fac9f8b7d28402c5f29173f06a784cd3b561e38.tar.xz |
bus: 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/bus 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: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'drivers/bus/hisi_lpc.c')
-rw-r--r-- | drivers/bus/hisi_lpc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/bus/hisi_lpc.c b/drivers/bus/hisi_lpc.c index 09340adbacc2..53dd1573e323 100644 --- a/drivers/bus/hisi_lpc.c +++ b/drivers/bus/hisi_lpc.c @@ -689,6 +689,6 @@ static struct platform_driver hisi_lpc_driver = { .acpi_match_table = hisi_lpc_acpi_match, }, .probe = hisi_lpc_probe, - .remove_new = hisi_lpc_remove, + .remove = hisi_lpc_remove, }; builtin_platform_driver(hisi_lpc_driver); |