ARM: riscpc: dma: use __iomem pointers for writing DMA
authorRussell King <rmk+kernel@armlinux.org.uk>
Thu, 2 May 2019 16:56:49 +0000 (17:56 +0100)
committerRussell King <rmk+kernel@armlinux.org.uk>
Thu, 9 May 2019 16:16:41 +0000 (17:16 +0100)
commit090a37ceda3ecb02061a1415239aa1a64c184833
treebe3703f3bcfc5abb3346e3ef730cdbfc61009a46
parente659587c64b3d48a9293e34eb854967654ed98f7
ARM: riscpc: dma: use __iomem pointers for writing DMA

Use __iomem pointers for efficiency to write the DMA registers.
This avoids the compiler emitting several instructions for each access
to calculate the register address.

Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
arch/arm/mach-rpc/dma.c