]> www.infradead.org Git - users/jedix/linux-maple.git/commit
net: pcs: xpcs: get rid of xpcs_init_iface()
authorRussell King (Oracle) <rmk+kernel@armlinux.org.uk>
Tue, 1 Oct 2024 16:04:21 +0000 (17:04 +0100)
committerJakub Kicinski <kuba@kernel.org>
Thu, 3 Oct 2024 00:32:00 +0000 (17:32 -0700)
commita487c9e7cfc4fe7a35874326e6840f6528110f58
treeb0f4879b1b9279adf43b791823cac0f528486782
parent92fb8986083afa1a769299ded1621ac490aaeb73
net: pcs: xpcs: get rid of xpcs_init_iface()

xpcs_init_iface() no longer does anything with the interface mode, and
now merely does configuration related to the PMA ID. Move this back
into xpcs_create() as it doesn't warrant being a separate function
anymore.

Reviewed-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Link: https://patch.msgid.link/E1svfML-005ZIF-84@rmk-PC.armlinux.org.uk
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/pcs/pcs-xpcs.c