diff options
author | Amol Lad <amol@verismonetworks.com> | 2006-10-02 04:48:23 -0400 |
---|---|---|
committer | David Woodhouse <dwmw2@infradead.org> | 2006-10-02 04:48:23 -0400 |
commit | 76a5027c374a638e55de5d8c4485ea0201254870 (patch) | |
tree | 250f1d0c3572077dc06a47cdc4ce5941e171b67f /drivers/mtd/maps/nettel.c | |
parent | 553a8012088b3452c7d66ff60d2d06ad0c9bea00 (diff) |
[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/maps/nettel.c')
-rw-r--r-- | drivers/mtd/maps/nettel.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/maps/nettel.c b/drivers/mtd/maps/nettel.c index 198e840ff6db..f9e8e5bcbc33 100644 --- a/drivers/mtd/maps/nettel.c +++ b/drivers/mtd/maps/nettel.c | |||
@@ -463,7 +463,7 @@ int __init nettel_init(void) | |||
463 | 463 | ||
464 | #ifdef CONFIG_MTD_CFI_INTELEXT | 464 | #ifdef CONFIG_MTD_CFI_INTELEXT |
465 | out_unmap1: | 465 | out_unmap1: |
466 | iounmap((void *) nettel_intel_map.virt); | 466 | iounmap(nettel_intel_map.virt); |
467 | #endif | 467 | #endif |
468 | 468 | ||
469 | out_unmap2: | 469 | out_unmap2: |