MIPS: CPS: Use change_*, set_* & clear_* where appropriate
authorPaul Burton <paul.burton@imgtec.com>
Sun, 13 Aug 2017 02:49:31 +0000 (19:49 -0700)
committerRalf Baechle <ralf@linux-mips.org>
Tue, 29 Aug 2017 22:57:26 +0000 (00:57 +0200)
commit846e1913f5ccf3fb822a7aa166e5a840c8bdc61b
treeb4ffc6ee44b019c5515ec237b099cfa32d867ddf
parented7eb5aad7d4e4945fac664c9b67d0db2a8a3db8
MIPS: CPS: Use change_*, set_* & clear_* where appropriate

Make use of the new change_*, set_* & clear_* accessor functions for CPS
(CM, CPC & GIC) registers where doing so makes the code easier to read
or shortens it without adversely affecting readability.

Signed-off-by: Paul Burton <paul.burton@imgtec.com>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/17005/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/kernel/mips-cm.c
arch/mips/kernel/smp-cps.c
arch/mips/mm/sc-mips.c