mtd: nuc900_nand: add missing nand_release in nuc900_nand_remove
Linux-MTD Mailing List
linux-mtd at lists.infradead.org
Mon Nov 7 11:59:05 EST 2011
Gitweb: http://git.infradead.org/?p=mtd-2.6.git;a=commit;h=43c6871cae298e28700ca1ea76dc94b5f69446bc
Commit: 43c6871cae298e28700ca1ea76dc94b5f69446bc
Parent: b07948251f563379885ac92412fb3885c976e423
Author: Axel Lin <axel.lin at gmail.com>
AuthorDate: Fri Jun 3 09:51:53 2011 +0800
Committer: Artem Bityutskiy <artem.bityutskiy at intel.com>
CommitDate: Sun Sep 11 15:01:58 2011 +0300
mtd: nuc900_nand: add missing nand_release in nuc900_nand_remove
Signed-off-by: Axel Lin <axel.lin at gmail.com>
Acked-by: Wan ZongShun <mcuos.com at gmail.com>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy at nokia.com>
---
drivers/mtd/nand/nuc900_nand.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/drivers/mtd/nand/nuc900_nand.c b/drivers/mtd/nand/nuc900_nand.c
index 9c30a0b..fa8faed 100644
--- a/drivers/mtd/nand/nuc900_nand.c
+++ b/drivers/mtd/nand/nuc900_nand.c
@@ -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);
More information about the linux-mtd-cvs
mailing list