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>
Wed, 21 Dec 2022 16:48:03 +0000 (17:48 +0100)
commitee11da28a62e8b1fbaf471027257c44b40e7f244
tree6068c99b070eb52eb9a8c5373e721935a044b4fa
parenta1d9199ba485e55f52e985ee13c2a653d259593f
mips: ralink: mt7621: soc queries and tests as functions

commit b4767d4c072583dec987225b6fe3f5524a735f42 upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/mips/ralink/mt7621.c