]> git.itanic.dy.fi Git - linux-stable/commit
mips: ralink: rt3883: soc queries and tests as functions
authorSergio Paracuellos <sergio.paracuellos@gmail.com>
Mon, 27 Feb 2023 10:57:59 +0000 (11:57 +0100)
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>
Tue, 14 Mar 2023 16:13:50 +0000 (17:13 +0100)
commit89f9b3041e7eddfcfa7260d7e0d2846b21f316d1
tree97580d03f0888692ca0180cbb137afe1a94dca0b
parent7edb1775846ebc5a7f4d5085ff6d712ed137a460
mips: ralink: rt3883: 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: Sergio Paracuellos <sergio.paracuellos@gmail.com>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
arch/mips/ralink/rt3883.c