projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b079482
)
mtd: nuc900_nand: add missing nand_release in nuc900_nand_remove
author
Axel Lin
<axel.lin@gmail.com>
Fri, 3 Jun 2011 01:51:53 +0000
(09:51 +0800)
committer
Artem Bityutskiy
<artem.bityutskiy@intel.com>
Sun, 11 Sep 2011 12:01:58 +0000
(15:01 +0300)
Signed-off-by: Axel Lin <axel.lin@gmail.com>
Acked-by: Wan ZongShun <mcuos.com@gmail.com>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
drivers/mtd/nand/nuc900_nand.c
patch
|
blob
|
history
diff --git
a/drivers/mtd/nand/nuc900_nand.c
b/drivers/mtd/nand/nuc900_nand.c
index
9c30a0b
..
fa8faed
100644
(file)
--- 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);