summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/modules.py
diff options
context:
space:
mode:
authorRussell King (Oracle) <rmk+kernel@armlinux.org.uk>2025-06-12 16:41:12 +0100
committerJakub Kicinski <kuba@kernel.org>2025-06-13 18:22:59 -0700
commitc5cddcdbd2af9c3622820e31a250d7a656e2588e (patch)
tree76d40b204874486bfb19fdf464b6347d70ecfc61 /scripts/gdb/linux/modules.py
parent3930c2cca657bfd03c229a272f21f9b0f2685fad (diff)
net: stmmac: rk: simplify px30_set_rmii_speed()
px30_set_rmii_speed() doesn't need to be as verbose as it is - it merely needs the values for the register and clock rate which depend on the speed, and then call the appropriate functions. Rewrite the function to make it so. Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Link: https://patch.msgid.link/E1uPk3E-004CFl-BZ@rmk-PC.armlinux.org.uk Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'scripts/gdb/linux/modules.py')
0 files changed, 0 insertions, 0 deletions