diff options
author | Oleksij Rempel <o.rempel@pengutronix.de> | 2023-09-14 15:11:44 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2023-09-17 14:28:34 +0100 |
commit | 152992279e416553f7b421ab22406ae0b1c71aba (patch) | |
tree | 9878a8310b1eb8b541eefd0719b7356172c8b6dd /drivers/net/phy/phy.c | |
parent | e03f0dfbddd516687ad5582882037d0462f268cc (diff) |
net: dsa: microchip: Move *_port_setup code to dsa_switch_ops::port_setup()
Right now, the *_port_setup code is in dsa_switch_ops::port_enable(),
which is not the best place for it. This patch moves it to a more
suitable place, dsa_switch_ops::port_setup(), to match the function's
purpose and name.
This patch is a preparation for coming ACL support patch.
Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
Reviewed-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Reviewed-by: Florian Fainelli <florian.fainelli@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/phy/phy.c')
0 files changed, 0 insertions, 0 deletions