]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
MIPS: lantiq: Move macro directly to iomem function
authorPetr Cvek <petrcvekcz@gmail.com>
Thu, 20 Jun 2019 21:39:33 +0000 (23:39 +0200)
committerPaul Burton <paul.burton@mips.com>
Mon, 24 Jun 2019 21:15:03 +0000 (14:15 -0700)
commitaa0f58b4666f7662d178905ac45d94914f72d3d4
tree225a7f1a9d91c6e1d88a340b0236e5073f354212
parent1e2791448b922069b1d76cb863290c7341ff5eb5
MIPS: lantiq: Move macro directly to iomem function

Using the variable as a temporary holder for the macro of the register
offset value is not necessary. Move it directly to the IOMEM read/write
call.

Signed-off-by: Petr Cvek <petrcvekcz@gmail.com>
Signed-off-by: Paul Burton <paul.burton@mips.com>
Cc: hauke@hauke-m.de
Cc: john@phrozen.org
Cc: linux-mips@vger.kernel.org
Cc: openwrt-devel@lists.openwrt.org
Cc: pakahmar@hotmail.com
arch/mips/lantiq/irq.c