]> git.itanic.dy.fi Git - linux-stable/commit
mips: ralink: rt288x: soc queries and tests as functions
authorSergio Paracuellos <sergio.paracuellos@gmail.com>
Mon, 27 Feb 2023 10:58:02 +0000 (11:58 +0100)
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>
Tue, 14 Mar 2023 16:13:50 +0000 (17:13 +0100)
commit5a5aa151bdccea934d4a84086661538b60a09a42
tree5df02e65ad33dffb7958fa7b5088879645bd0566
parent1e688601d18d3d872ffaad70c599e8c1a1d788a0
mips: ralink: rt288x: 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/rt288x.c