diff options
author | Uwe Kleine-König <u.kleine-koenig@baylibre.com> | 2024-11-12 09:35:18 +0100 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2024-11-12 21:30:30 +0100 |
commit | 927df4cae36207dc9557d4e383bd4cbe2473dd38 (patch) | |
tree | c9d9437f2dd010d437c9cf22145df48733733cbc /lib/dhry_run.c | |
parent | ACPI: scan: Use strscpy() instead of strcpy() (diff) | |
download | linux-927df4cae36207dc9557d4e383bd4cbe2473dd38.tar.xz linux-927df4cae36207dc9557d4e383bd4cbe2473dd38.zip |
ACPI: 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/acpi 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://patch.msgid.link/9ee1a9813f53698be62aab9d810b2d97a2a9f186.1731397722.git.u.kleine-koenig@baylibre.com
[ rjw: Subject edit ]
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'lib/dhry_run.c')
0 files changed, 0 insertions, 0 deletions