summaryrefslogtreecommitdiffstats
path: root/drivers/mtd/nand
diff options
context:
space:
mode:
authorAmol Lad <amol@verismonetworks.com>2006-10-02 09:48:23 +0100
committerDavid Woodhouse <dwmw2@infradead.org>2006-10-02 09:48:23 +0100
commit76a5027c374a638e55de5d8c4485ea0201254870 (patch)
tree250f1d0c3572077dc06a47cdc4ce5941e171b67f /drivers/mtd/nand
parent553a8012088b3452c7d66ff60d2d06ad0c9bea00 (diff)
downloadlinux-76a5027c374a638e55de5d8c4485ea0201254870.tar.gz
linux-76a5027c374a638e55de5d8c4485ea0201254870.tar.bz2
linux-76a5027c374a638e55de5d8c4485ea0201254870.zip
[MTD] Cleanup of 'ioremap balanced with iounmap for drivers/mtd subsystem'
Updated version of patch, in response to comments from Francois Romieu <romieu@fr.zoreil.com> Remove gratuitous casts from iounmap and initialisation of variables. Signed-off-by: Amol Lad <amol@verismonetworks.com> Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Diffstat (limited to 'drivers/mtd/nand')
-rw-r--r--drivers/mtd/nand/edb7312.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/nand/edb7312.c b/drivers/mtd/nand/edb7312.c
index 12017f3c6bd6..1daf8231aaef 100644
--- a/drivers/mtd/nand/edb7312.c
+++ b/drivers/mtd/nand/edb7312.c
@@ -199,7 +199,7 @@ static void __exit ep7312_cleanup(void)
nand_release(ap7312_mtd);
/* Release io resource */
- iounmap((void *)this->IO_ADDR_R);
+ iounmap(this->IO_ADDR_R);
/* Free the MTD device structure */
kfree(ep7312_mtd);