diff options
author | Uwe Kleine-König <u.kleine-koenig@baylibre.com> | 2024-10-07 22:58:07 +0200 |
---|---|---|
committer | Miquel Raynal <miquel.raynal@bootlin.com> | 2024-10-21 11:58:07 +0200 |
commit | f8470006c4d6bd54dbf9a3479f85e13387bff56d (patch) | |
tree | 2e5930417df39250ec7fedc4d6fa6f132d1c720a /drivers/slimbus | |
parent | 4c9b44e774025d9fd6f8384a7dcd6a6917043650 (diff) | |
download | lwn-f8470006c4d6bd54dbf9a3479f85e13387bff56d.tar.gz lwn-f8470006c4d6bd54dbf9a3479f85e13387bff56d.zip |
mtd: 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/mtd 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>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/linux-mtd/20241007205803.444994-10-u.kleine-koenig@baylibre.com
Diffstat (limited to 'drivers/slimbus')
0 files changed, 0 insertions, 0 deletions