summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2019-08-17 10:32:28 +0300
committerRichard Weinberger <richard@nod.at>2019-09-16 00:50:22 +0300
commit97ef08ae275e388321dcde9190adbaa0c67b93fe (patch)
tree6ad90b475c343b9f7642d5da21f3378b472a00a7
parent6db5506f056d2df63e925e6d53e77bae4d6bc1b8 (diff)
downloadlinux-97ef08ae275e388321dcde9190adbaa0c67b93fe.tar.xz
mtd: pxa2xx: Use ioremap_cache insted of ioremap_cached
pxa2xx-flash is the only user of ioremap_cached, which is an alias for ioremap_cache anyway. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Richard Weinberger <richard@nod.at>
-rw-r--r--drivers/mtd/maps/pxa2xx-flash.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/mtd/maps/pxa2xx-flash.c b/drivers/mtd/maps/pxa2xx-flash.c
index cebb346877a9..7d96758a8f04 100644
--- a/drivers/mtd/maps/pxa2xx-flash.c
+++ b/drivers/mtd/maps/pxa2xx-flash.c
@@ -68,8 +68,7 @@ static int pxa2xx_flash_probe(struct platform_device *pdev)
info->map.name);
return -ENOMEM;
}
- info->map.cached =
- ioremap_cached(info->map.phys, info->map.size);
+ info->map.cached = ioremap_cache(info->map.phys, info->map.size);
if (!info->map.cached)
printk(KERN_WARNING "Failed to ioremap cached %s\n",
info->map.name);