commit | 00596576a05145a1b5672897a82ef87af00becf4 | [log] [tgz] |
---|---|---|
author | Zev Weiss <zev@bewilderbeest.net> | Fri Oct 15 11:50:48 2021 -0700 |
committer | Miquel Raynal <miquel.raynal@bootlin.com> | Fri Dec 03 14:27:19 2021 +0100 |
tree | 4bc5ea007f42691f4a9dc885424e019bd074ad3f | |
parent | b4a0de29f083cf8a705e1f381076ceeed7010d50 [diff] |
mtd: core: clear out unregistered devices a bit more 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@bewilderbeest.net> Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com> Link: https://lore.kernel.org/linux-mtd/20211015185049.3318-1-zev@bewilderbeest.net