diff options
author | Axel Lin <axel.lin@gmail.com> | 2011-06-03 03:53:26 +0200 |
---|---|---|
committer | Artem Bityutskiy <artem.bityutskiy@intel.com> | 2011-09-11 14:01:59 +0200 |
commit | d80932b2dc497faa27e415c12f56f6ae1d087204 (patch) | |
tree | 316fd327eb56c49ec5622363de202c6d948c66f0 /drivers/mtd/nand/nomadik_nand.c | |
parent | mtd: nuc900_nand: add missing nand_release in nuc900_nand_remove (diff) | |
download | linux-d80932b2dc497faa27e415c12f56f6ae1d087204.tar.xz linux-d80932b2dc497faa27e415c12f56f6ae1d087204.zip |
mtd: nomadik_nand: add missing nand_release in nomadik_nand_remove
Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Diffstat (limited to 'drivers/mtd/nand/nomadik_nand.c')
-rw-r--r-- | 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 b6a5c86ab31e..b463ecfb4c1a 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); |