mirror of
https://github.com/ukui/kernel.git
synced 2026-03-09 10:07:04 -07:00
remove ioremap_nocache and devm_ioremap_nocache
ioremap has provided non-cached semantics by default since the Linux 2.6 days, so remove the additional ioremap_nocache interface. Signed-off-by: Christoph Hellwig <hch@lst.de> Acked-by: Arnd Bergmann <arnd@arndb.de>
This commit is contained in:
@@ -504,7 +504,7 @@ static int __init sh_rtc_probe(struct platform_device *pdev)
|
||||
if (unlikely(!rtc->res))
|
||||
return -EBUSY;
|
||||
|
||||
rtc->regbase = devm_ioremap_nocache(&pdev->dev, rtc->res->start,
|
||||
rtc->regbase = devm_ioremap(&pdev->dev, rtc->res->start,
|
||||
rtc->regsize);
|
||||
if (unlikely(!rtc->regbase))
|
||||
return -EINVAL;
|
||||
|
||||
Reference in New Issue
Block a user