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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 31 Dec 2022 12:14:04 +0000 (13:14 +0100)
commit186d59bb6a540dd8f4f19eda27f756e59341f50b
tree45c320adfe4a727b3c3ccbbda975610f66f69973
parent8348da01e5c65b245050845d9863448d37ff40ed
mips: ralink: mt7621: soc queries and tests as functions

[ Upstream commit b4767d4c072583dec987225b6fe3f5524a735f42 ]

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>
Stable-dep-of: 7c18b64bba3b ("mips: ralink: mt7621: do not use kzalloc too early")
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/mips/ralink/mt7621.c