net: dsa: ocelot: use lynx_pcs_create_mdiodev()
commit 8295d74c90abfd4d9f31215c972e91de1d50426a from https://github.com/nxp-imx/linux-imx lf-6.1.y Use the newly introduced lynx_pcs_create_mdiodev() which simplifies the creation and destruction of the lynx PCS. Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Reviewed-by: Vladimir Oltean <vladimir.oltean@nxp.com> Tested-by: Vladimir Oltean <vladimir.oltean@nxp.com> Signed-off-by: Jakub Kicinski <kuba@kernel.org> (cherry picked from commit 5767c6a8 ) Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com> Signed-off-by: Xiaolei Wang <xiaolei.wang@windriver.com>
parent
b74b930e
Please register or sign in to comment