MIPS: Octeon: Simplify CIU register functions.
authorSteven J. Hill <steven.hill@cavium.com>
Tue, 3 Jul 2018 21:44:25 +0000 (16:44 -0500)
committerPaul Burton <paul.burton@mips.com>
Tue, 3 Jul 2018 23:01:36 +0000 (16:01 -0700)
commitcfe1824411ad6bed3eb05efabbd43135592fcfd7
tree968d7ee69e034613481a2454ab9fc01d149a2ea9
parenta730c7cd4534b3ffb62d1a692f05e313b058bc38
MIPS: Octeon: Simplify CIU register functions.

Collapse and simplify switch statements in functions.

Signed-off-by: Steven J. Hill <steven.hill@cavium.com>
Signed-off-by: Paul Burton <paul.burton@mips.com>
Patchwork: https://patchwork.linux-mips.org/patch/19713/
Cc: linux-mips@linux-mips.org
Cc: Chandrakala Chavva <cchavva@caviumnetworks.com>
arch/mips/include/asm/octeon/cvmx-ciu-defs.h