mtd: remove several bogus casts to void * in iounmap() argument
Subsystems (2)
PATCH 1/1 mtd: remove several bogus casts to void * in iounmap() argument
Signed-off-by Al Viro <[email protected]>
--- drivers/mtd/maps/physmap.c | 2 +- drivers/mtd/nand/cs553x_nand.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
drivers/mtd/maps/physmap.c +1 -1
@@ -62,7 +62,7 @@ #endif }if (info->map.virt !=NULL ) -iounmap ((void *)info->map.virt); +iounmap (info->map.virt);if (info->res !=NULL ) {release_resource (info->res);
drivers/mtd/nand/cs553x_nand.c +1 -1
@@ -249,7 +249,7 @@ static int __init cs553x_init_one(int cs goto out; out_ior: -iounmap ((void *)this->IO_ADDR_R); +iounmap (this->IO_ADDR_R); out_mtd:kfree (new_mtd); out:
Signature · 1 line
1.4.2.GIT