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:
@@ -1058,7 +1058,7 @@ and the allocation would be like below:
|
||||
return err;
|
||||
}
|
||||
chip->iobase_phys = pci_resource_start(pci, 0);
|
||||
chip->iobase_virt = ioremap_nocache(chip->iobase_phys,
|
||||
chip->iobase_virt = ioremap(chip->iobase_phys,
|
||||
pci_resource_len(pci, 0));
|
||||
|
||||
and the corresponding destructor would be:
|
||||
|
Reference in New Issue
Block a user