Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Christoph Hellwig and committed by
Richard Weinberger
97ef08ae 6db5506f

+1 -2
+1 -2
drivers/mtd/maps/pxa2xx-flash.c
··· 68 68 info->map.name); 69 69 return -ENOMEM; 70 70 } 71 - info->map.cached = 72 - ioremap_cached(info->map.phys, info->map.size); 71 + info->map.cached = ioremap_cache(info->map.phys, info->map.size); 73 72 if (!info->map.cached) 74 73 printk(KERN_WARNING "Failed to ioremap cached %s\n", 75 74 info->map.name);