summaryrefslogtreecommitdiff
path: root/include/uapi
diff options
context:
space:
mode:
authorRussell King (Oracle) <rmk+kernel@armlinux.org.uk>2026-03-05 13:42:42 +0300
committerJakub Kicinski <kuba@kernel.org>2026-03-07 02:39:09 +0300
commit58bd0039002ba58019138608de4f2a3041ae0026 (patch)
treeb41cf36e07c85d7104c58206d6963f2289ba21e1 /include/uapi
parent506f78f43c58094009b2d62ed0f8070bb4635954 (diff)
downloadlinux-58bd0039002ba58019138608de4f2a3041ae0026.tar.xz
net: stmmac: mdio: convert field prep to use field_prep()
Convert the MDIO field preparation to use field_prep(), which removes the need to store separate mask and shifts. Also convert the clk_csr value using __ffs() to do the shift as we need to detect overflows for this. Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk> Reviewed-by: Maxime Chevallier <maxime.chevallier@bootlin.com> Tested-by: Maxime Chevallier <maxime.chevallier@bootlin.com> Link: https://patch.msgid.link/E1vy6AE-0000000Btwv-1LM4@rmk-PC.armlinux.org.uk Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include/uapi')
0 files changed, 0 insertions, 0 deletions