diff options
author | Uwe Kleine-König <u.kleine-koenig@baylibre.com> | 2024-10-21 13:45:10 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2024-11-05 07:33:47 +0300 |
commit | f36ee841165b2234db8346eb8d5381626e5ab524 (patch) | |
tree | a8a92bbe732741949c4168532b284b2d7ab5b2be /drivers/acpi/cppc_acpi.c | |
parent | d8da4f1912ed43190f6d3ac6e05f3a1af07d07c1 (diff) | |
download | linux-f36ee841165b2234db8346eb8d5381626e5ab524.tar.xz |
char: 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 matched by the "CHAR and MISC DRIVERS"
maintainer's entry 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>
Acked-by: Eli Billauer <eli.billauer@gmail.com>
Link: https://lore.kernel.org/r/20241021104511.405661-2-u.kleine-koenig@baylibre.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/acpi/cppc_acpi.c')
0 files changed, 0 insertions, 0 deletions