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