public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/2] mtd: nuc900_nand: add missing nand_release in nuc900_nand_remove
@ 2011-06-03  1:51 Axel Lin
  2011-06-03  1:53 ` [PATCH 2/2] mtd: nomadik_nand: add missing nand_release in nomadik_nand_remove Axel Lin
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Axel Lin @ 2011-06-03  1:51 UTC (permalink / raw)
  To: linux-kernel; +Cc: Wan ZongShun, David Woodhouse, Artem Bityutskiy, linux-mtd

Signed-off-by: Axel Lin <axel.lin@gmail.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);
-- 
1.7.4.1




^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2011-06-06 10:23 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-06-03  1:51 [PATCH 1/2] mtd: nuc900_nand: add missing nand_release in nuc900_nand_remove Axel Lin
2011-06-03  1:53 ` [PATCH 2/2] mtd: nomadik_nand: add missing nand_release in nomadik_nand_remove Axel Lin
2011-06-06 10:19   ` Artem Bityutskiy
2011-06-03  2:25 ` [PATCH 1/2] mtd: nuc900_nand: add missing nand_release in nuc900_nand_remove Wan ZongShun
2011-06-06 10:13 ` Artem Bityutskiy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox