MIPS: Make phys_to_virt utilize __va()
authorFlorian Fainelli <f.fainelli@gmail.com>
Thu, 7 Jul 2022 20:37:42 +0000 (13:37 -0700)
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>
Mon, 11 Jul 2022 08:33:18 +0000 (10:33 +0200)
commit9044576357b16d9ebbe10cc567277507d1165a54
treeece1fba1ff213fe5cd97870583ad21bfa244fdd4
parent8baa65126e19af5ee9f3c07e7bb53da41c39e4b1
MIPS: Make phys_to_virt utilize __va()

The implementation is exactly the same, so avoid open-coding it in two
different locations.

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Reviewed-by: Serge Semin <fancer.lancer@gmail.com>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
arch/mips/include/asm/io.h