From: Christoph Hellwig Date: Sat, 17 Aug 2019 07:32:28 +0000 (+0200) Subject: mtd: pxa2xx: Use ioremap_cache insted of ioremap_cached X-Git-Tag: v5.4-rc1~87^2~10 X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=commitdiff_plain;h=97ef08ae275e388321dcde9190adbaa0c67b93fe;p=linux.git 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 Signed-off-by: Richard Weinberger --- 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);