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:
@@ -458,7 +458,7 @@ static int ath10k_ahb_resource_init(struct ath10k *ar)
|
||||
|
||||
ar_ahb->mem_len = resource_size(res);
|
||||
|
||||
ar_ahb->gcc_mem = ioremap_nocache(ATH10K_GCC_REG_BASE,
|
||||
ar_ahb->gcc_mem = ioremap(ATH10K_GCC_REG_BASE,
|
||||
ATH10K_GCC_REG_SIZE);
|
||||
if (!ar_ahb->gcc_mem) {
|
||||
ath10k_err(ar, "gcc mem ioremap error\n");
|
||||
@@ -466,7 +466,7 @@ static int ath10k_ahb_resource_init(struct ath10k *ar)
|
||||
goto err_mem_unmap;
|
||||
}
|
||||
|
||||
ar_ahb->tcsr_mem = ioremap_nocache(ATH10K_TCSR_REG_BASE,
|
||||
ar_ahb->tcsr_mem = ioremap(ATH10K_TCSR_REG_BASE,
|
||||
ATH10K_TCSR_REG_SIZE);
|
||||
if (!ar_ahb->tcsr_mem) {
|
||||
ath10k_err(ar, "tcsr mem ioremap error\n");
|
||||
|
Reference in New Issue
Block a user