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:
@@ -534,7 +534,7 @@ static int sti_dvo_probe(struct platform_device *pdev)
|
||||
DRM_ERROR("Invalid dvo resource\n");
|
||||
return -ENOMEM;
|
||||
}
|
||||
dvo->regs = devm_ioremap_nocache(dev, res->start,
|
||||
dvo->regs = devm_ioremap(dev, res->start,
|
||||
resource_size(res));
|
||||
if (!dvo->regs)
|
||||
return -ENOMEM;
|
||||
|
@@ -759,14 +759,14 @@ static int sti_hda_probe(struct platform_device *pdev)
|
||||
DRM_ERROR("Invalid hda resource\n");
|
||||
return -ENOMEM;
|
||||
}
|
||||
hda->regs = devm_ioremap_nocache(dev, res->start, resource_size(res));
|
||||
hda->regs = devm_ioremap(dev, res->start, resource_size(res));
|
||||
if (!hda->regs)
|
||||
return -ENOMEM;
|
||||
|
||||
res = platform_get_resource_byname(pdev, IORESOURCE_MEM,
|
||||
"video-dacs-ctrl");
|
||||
if (res) {
|
||||
hda->video_dacs_ctrl = devm_ioremap_nocache(dev, res->start,
|
||||
hda->video_dacs_ctrl = devm_ioremap(dev, res->start,
|
||||
resource_size(res));
|
||||
if (!hda->video_dacs_ctrl)
|
||||
return -ENOMEM;
|
||||
|
@@ -1393,7 +1393,7 @@ static int sti_hdmi_probe(struct platform_device *pdev)
|
||||
ret = -ENOMEM;
|
||||
goto release_adapter;
|
||||
}
|
||||
hdmi->regs = devm_ioremap_nocache(dev, res->start, resource_size(res));
|
||||
hdmi->regs = devm_ioremap(dev, res->start, resource_size(res));
|
||||
if (!hdmi->regs) {
|
||||
ret = -ENOMEM;
|
||||
goto release_adapter;
|
||||
|
@@ -860,7 +860,7 @@ static int sti_tvout_probe(struct platform_device *pdev)
|
||||
DRM_ERROR("Invalid glue resource\n");
|
||||
return -ENOMEM;
|
||||
}
|
||||
tvout->regs = devm_ioremap_nocache(dev, res->start, resource_size(res));
|
||||
tvout->regs = devm_ioremap(dev, res->start, resource_size(res));
|
||||
if (!tvout->regs)
|
||||
return -ENOMEM;
|
||||
|
||||
|
@@ -393,7 +393,7 @@ static int vtg_probe(struct platform_device *pdev)
|
||||
DRM_ERROR("Get memory resource failed\n");
|
||||
return -ENOMEM;
|
||||
}
|
||||
vtg->regs = devm_ioremap_nocache(dev, res->start, resource_size(res));
|
||||
vtg->regs = devm_ioremap(dev, res->start, resource_size(res));
|
||||
if (!vtg->regs) {
|
||||
DRM_ERROR("failed to remap I/O memory\n");
|
||||
return -ENOMEM;
|
||||
|
Reference in New Issue
Block a user