diff options
author | Uwe Kleine-König <u.kleine-koenig@baylibre.com> | 2024-10-16 16:16:10 +0200 |
---|---|---|
committer | Niklas Cassel <cassel@kernel.org> | 2024-10-17 09:55:08 +0200 |
commit | 2d910fe1e62c517d69d02996438aea0c4cb73066 (patch) | |
tree | 9e5a135b24ac0d653fafeafa178ee776b36653f8 /drivers/nvdimm/nd-core.h | |
parent | ata: libata: Remove unused macro definitions (diff) | |
download | linux-2d910fe1e62c517d69d02996438aea0c4cb73066.tar.xz linux-2d910fe1e62c517d69d02996438aea0c4cb73066.zip |
ata: 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/ata/ 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.
While touching these files, make indention of the struct initializer
consistent in several files.
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@baylibre.com>
Reviewed-by: Damien Le Moal <dlemoal@kernel.org>
Link: https://lore.kernel.org/r/20241016141609.27329-2-u.kleine-koenig@baylibre.com
Signed-off-by: Niklas Cassel <cassel@kernel.org>
Diffstat (limited to 'drivers/nvdimm/nd-core.h')
0 files changed, 0 insertions, 0 deletions