Skip to content
Commit 700bccb8 authored by Christophe Kerello's avatar Christophe Kerello Committed by Greg Kroah-Hartman
Browse files

mtd: rawnand: free the nand_device object



commit 00926460 upstream.

This patch releases the resources allocated in nanddev_init function.

Fixes: a7ab085d ("mtd: rawnand: Initialize the nand_device object")
Signed-off-by: default avatarChristophe Kerello <christophe.kerello@st.com>
Signed-off-by: default avatarMiquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/linux-mtd/1579767768-32295-1-git-send-email-christophe.kerello@st.com


Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 0c72ec11
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment