Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c1e53551 authored by Jerome Brunet's avatar Jerome Brunet Committed by David S. Miller
Browse files

net: phy: meson-gxl: use genphy_config_init



Use the generic init function to populate some of the phydev
structure fields

Reviewed-by: default avatarAndrew Lunn <andrew@lunn.ch>
Signed-off-by: default avatarJerome Brunet <jbrunet@baylibre.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent fdaa84c3
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -147,7 +147,7 @@ static int meson_gxl_config_init(struct phy_device *phydev)
	if (ret)
		return ret;

	return 0;
	return genphy_config_init(phydev);
}

/* This function is provided to cope with the possible failures of this phy