[PATCH] mtd: Switch back to struct platform_driver::remove()

Miquel Raynal miquel.raynal at bootlin.com
Mon Oct 21 03:00:34 PDT 2024


On Mon, 2024-10-07 at 20:58:07 UTC, =?utf-8?q?Uwe_Kleine-K=C3=B6nig?= wrote:
> 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 at baylibre.com>

Applied to https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git mtd/next, thanks.

Miquel



More information about the linux-mtd mailing list