nds32: use generic ioremap
authorChristoph Hellwig <hch@lst.de>
Tue, 13 Aug 2019 09:52:20 +0000 (11:52 +0200)
committerChristoph Hellwig <hch@lst.de>
Tue, 12 Nov 2019 10:37:58 +0000 (11:37 +0100)
commiteafee59440623e06b0ce4a0e49f814a8cf31d8ca
tree4d7b2dc7e65b8d4a9ddd86420fc9c532d88a28f8
parent0055f67b596c3a8963192a42e25797b0e7fc0e92
nds32: use generic ioremap

Use the generic ioremap_prot and iounmap helpers.

Note that the io.h include in pgtable.h had to be removed to not create
an include loop.  As far as I can tell there was no need for it to
start with.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Acked-by: Greentime Hu <green.hu@gmail.com>
arch/nds32/Kconfig
arch/nds32/include/asm/io.h
arch/nds32/include/asm/pgtable.h
arch/nds32/mm/Makefile
arch/nds32/mm/ioremap.c [deleted file]