From: Axel Lin <axel.lin@gmail.com>
To: linux-kernel@vger.kernel.org
Cc: Sachin Verma <sachin.verma@st.com>,
David Woodhouse <dwmw2@infradead.org>,
Artem Bityutskiy <Artem.Bityutskiy@nokia.com>,
linux-mtd@lists.infradead.org
Subject: [PATCH 2/2] mtd: nomadik_nand: add missing nand_release in nomadik_nand_remove
Date: Fri, 03 Jun 2011 09:53:26 +0800 [thread overview]
Message-ID: <1307066006.10001.4.camel@phoenix> (raw)
In-Reply-To: <1307065913.10001.2.camel@phoenix>
Signed-off-by: Axel Lin <axel.lin@gmail.com>
---
drivers/mtd/nand/nomadik_nand.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/drivers/mtd/nand/nomadik_nand.c b/drivers/mtd/nand/nomadik_nand.c
index b6a5c86..b463ecf 100644
--- a/drivers/mtd/nand/nomadik_nand.c
+++ b/drivers/mtd/nand/nomadik_nand.c
@@ -187,6 +187,7 @@ static int nomadik_nand_remove(struct platform_device *pdev)
pdata->exit();
if (host) {
+ nand_release(&host->mtd);
iounmap(host->cmd_va);
iounmap(host->data_va);
iounmap(host->addr_va);
--
1.7.4.1
next prev parent reply other threads:[~2011-06-03 1:53 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
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 ` Axel Lin [this message]
2011-06-06 10:19 ` [PATCH 2/2] mtd: nomadik_nand: add missing nand_release in nomadik_nand_remove 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1307066006.10001.4.camel@phoenix \
--to=axel.lin@gmail.com \
--cc=Artem.Bityutskiy@nokia.com \
--cc=dwmw2@infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mtd@lists.infradead.org \
--cc=sachin.verma@st.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox