mips: ralink: mt7621: soc queries and tests as functions
authorJohn Thomson <git@johnthomson.fastmail.com.au>
Mon, 14 Nov 2022 01:56:57 +0000 (11:56 +1000)
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>
Thu, 1 Dec 2022 12:32:44 +0000 (13:32 +0100)
commitb4767d4c072583dec987225b6fe3f5524a735f42
tree8fcc52d78843a67e6f15409a9ec0a1689c44ebc9
parenta2cab953b4c077cc02878d424466d3a6eac32aaf
mips: ralink: mt7621: soc queries and tests as functions

Move the SoC register value queries and tests to specific functions,
to remove repetition of logic
No functional changes intended

Signed-off-by: John Thomson <git@johnthomson.fastmail.com.au>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
arch/mips/ralink/mt7621.c