]> www.infradead.org Git - users/jedix/linux-maple.git/commit
net: xpcs: clean up xpcs_config_eee()
authorRussell King (Oracle) <rmk+kernel@armlinux.org.uk>
Mon, 10 Feb 2025 10:54:10 +0000 (10:54 +0000)
committerJakub Kicinski <kuba@kernel.org>
Fri, 14 Feb 2025 21:42:52 +0000 (13:42 -0800)
commit760320145a5acb5186b5500e396bd0ea434c8040
tree3d02bb6785ac4ca200c02d567df5ce94fd1eb095
parent55faeb89968aab5a32f0de93cd97fc1c4169d0f7
net: xpcs: clean up xpcs_config_eee()

There is now no need to pass the mult_fact into xpcs_config_eee(), so
let's remove that argument and use xpcs->eee_mult_fact directly. While
changing the function signature, as we pass true/false for enable, use
"bool" instead of "int" for this.

Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Link: https://patch.msgid.link/E1thRQY-003w7U-IG@rmk-PC.armlinux.org.uk
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/pcs/pcs-xpcs.c