]> git.baikalelectronics.ru Git - kernel.git/commit
mtd: rawnand: free the nand_device object
authorChristophe Kerello <christophe.kerello@st.com>
Thu, 23 Jan 2020 08:22:48 +0000 (09:22 +0100)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Mon, 9 Mar 2020 13:49:14 +0000 (14:49 +0100)
commitade6c89152c981dbdb9575fbd0cb765b414413d6
tree3086e6ed3ac67411c22d932304f0ef4d47e8ddd6
parentad2f5b3dc05f6b76008bbdfc10358a009b8d58a5
mtd: rawnand: free the nand_device object

This patch releases the resources allocated in nanddev_init function.

Fixes: e0e935984af7 ("mtd: rawnand: Initialize the nand_device object")
Signed-off-by: Christophe Kerello <christophe.kerello@st.com>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/linux-mtd/1579767768-32295-1-git-send-email-christophe.kerello@st.com
drivers/mtd/nand/raw/nand_base.c