mvebu: fixes commit (#1402)

1e3800df18
err_free_stats has been deprecated. Replace with err_netdev.
This commit is contained in:
nivalxer 2019-06-28 23:33:46 +08:00 committed by coolsnowwolf
parent c3eb9166d1
commit c450bd4b77

View File

@ -905,7 +905,7 @@ Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
+ phylink = phylink_create(dev, dn, phy_mode, &mvneta_phylink_ops);
+ if (IS_ERR(phylink)) {
+ err = PTR_ERR(phylink);
+ goto err_free_stats;
+ goto err_netdev;
+ }
+
+ pp->phylink = phylink;