Commit 43c6871c authored by Axel Lin's avatar Axel Lin Committed by Artem Bityutskiy

mtd: nuc900_nand: add missing nand_release in nuc900_nand_remove

Signed-off-by: default avatarAxel Lin <axel.lin@gmail.com>
Acked-by: default avatarWan ZongShun <mcuos.com@gmail.com>
Signed-off-by: default avatarArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
parent b0794825
......@@ -339,6 +339,7 @@ static int __devexit nuc900_nand_remove(struct platform_device *pdev)
struct nuc900_nand *nuc900_nand = platform_get_drvdata(pdev);
struct resource *res;
nand_release(&nuc900_nand->mtd);
iounmap(nuc900_nand->reg);
res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment