diff options
author | Uwe Kleine-König <u.kleine-koenig@baylibre.com> | 2024-10-28 09:07:55 +0100 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2024-11-06 20:45:25 -0500 |
commit | f8da4c1cad5f836765bf147572872bfd0c3eb271 (patch) | |
tree | 26930f78694149b77d304a5dfa6b9638199c8d8d /rust/helpers/build_bug.c | |
parent | 53b550de463529f88c78526288260d4194cf4061 (diff) | |
download | linux-f8da4c1cad5f836765bf147572872bfd0c3eb271.tar.gz linux-f8da4c1cad5f836765bf147572872bfd0c3eb271.tar.bz2 linux-f8da4c1cad5f836765bf147572872bfd0c3eb271.zip |
scsi: 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/scsi 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.
On the way do a few whitespace changes to make indention consistent.
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@baylibre.com>
Link: https://lore.kernel.org/r/20241028080754.429191-2-u.kleine-koenig@baylibre.com
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'rust/helpers/build_bug.c')
0 files changed, 0 insertions, 0 deletions