Skip to content
Commit c8f1100c authored by Russell King (Oracle)'s avatar Russell King (Oracle) Committed by Xiaolei Wang
Browse files

net: stmmac: use xpcs_create_mdiodev()



commit  fa6bc1bc0d6ca4bdf19ee20848a87fe3291a1a1d from
https://github.com/nxp-imx/linux-imx lf-6.1.y

Use the new xpcs_create_mdiodev() creator, which simplifies the
creation and destruction of the mdio device associated with xpcs.

Signed-off-by: default avatarRussell King (Oracle) <rmk+kernel@armlinux.org.uk>
Reviewed-by: default avatarAndrew Lunn <andrew@lunn.ch>
Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
(cherry picked from commit 727e373f

)
Signed-off-by: default avatarVladimir Oltean <vladimir.oltean@nxp.com>
Signed-off-by: default avatarXiaolei Wang <xiaolei.wang@windriver.com>
parent b2961f77
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment