summaryrefslogtreecommitdiffstats
path: root/drivers/base/node.c
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@baylibre.com>2024-10-16 16:16:10 +0200
committerNiklas Cassel <cassel@kernel.org>2024-10-17 09:55:08 +0200
commit2d910fe1e62c517d69d02996438aea0c4cb73066 (patch)
tree9e5a135b24ac0d653fafeafa178ee776b36653f8 /drivers/base/node.c
parentata: libata: Remove unused macro definitions (diff)
downloadlinux-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/base/node.c')
0 files changed, 0 insertions, 0 deletions