]> git.baikalelectronics.ru Git - kernel.git/commit
net: mscc: ocelot: remove port_pcs_init indirection for VSC7514
authorVladimir Oltean <vladimir.oltean@nxp.com>
Sat, 29 Feb 2020 14:31:11 +0000 (16:31 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 4 Mar 2020 02:57:42 +0000 (18:57 -0800)
commit82ffb0d545bd96ba732ffa291bc712f97fa3c4f3
tree53de962344de1ab2f745de2e05a7c65890ec8a52
parent93d721b96d0e080799dd155b15fd1778a7f2f44b
net: mscc: ocelot: remove port_pcs_init indirection for VSC7514

The Felix driver is now using its own PHYLINK instance, not calling into
ocelot_adjust_link. So the port_pcs_init function pointer is an
unnecessary indirection. Remove it.

Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Tested-by: Horatiu Vultur <horatiu.vultur@microchip.com>
Reviewed-by: Allan W. Nielsen <allan.nielsen@microchip.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mscc/ocelot.c
drivers/net/ethernet/mscc/ocelot_board.c
include/soc/mscc/ocelot.h