[PATCH] mtd: core: clear out unregistered devices a bit more

Miquel Raynal miquel.raynal at bootlin.com
Fri Nov 19 10:48:12 PST 2021


On Fri, 2021-10-15 at 18:50:48 UTC, Zev Weiss wrote:
> This allows an MTD device that has been unregistered to be easily
> re-registered later without triggering spurious "already registered"
> warnings in mtd_device_parse_register() and add_mtd_device().
> 
> Signed-off-by: Zev Weiss <zev at bewilderbeest.net>

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