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:
@@ -489,7 +489,7 @@ static int pmc_setup_dev(struct pci_dev *pdev, const struct pci_device_id *ent)
|
||||
pci_read_config_dword(pdev, PMC_BASE_ADDR_OFFSET, &pmc->base_addr);
|
||||
pmc->base_addr &= PMC_BASE_ADDR_MASK;
|
||||
|
||||
pmc->regmap = ioremap_nocache(pmc->base_addr, PMC_MMIO_REG_LEN);
|
||||
pmc->regmap = ioremap(pmc->base_addr, PMC_MMIO_REG_LEN);
|
||||
if (!pmc->regmap) {
|
||||
dev_err(&pdev->dev, "error: ioremap failed\n");
|
||||
return -ENOMEM;
|
||||
|
Reference in New Issue
Block a user