On Mon, 2020-05-25 at 08:58:45 UTC, Miquel Raynal wrote: > nand_release() basically calls mtd_device_unregister() and > nand_cleanup(). Both helpers should be called after MTD device > registration and NAND scan, respectively. Drop nand_release() and use > the two helpers directly so that they fit the error path and the > labels there. > > Signed-off-by: Miquel Raynal <miquel.raynal@xxxxxxxxxxx> Applied to https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git nand/next. Miquel ______________________________________________________ Linux MTD discussion mailing list http://lists.infradead.org/mailman/listinfo/linux-mtd/