From: Jerome Brunet Date: Mon, 18 Dec 2017 09:44:43 +0000 (+0100) Subject: net: phy: meson-gxl: use genphy_config_init X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=c1e535510f6e9f8b64814aa2ddf2347610b3396d;p=openwrt%2Fstaging%2Fblogic.git net: phy: meson-gxl: use genphy_config_init Use the generic init function to populate some of the phydev structure fields Reviewed-by: Andrew Lunn Signed-off-by: Jerome Brunet Signed-off-by: David S. Miller --- diff --git a/drivers/net/phy/meson-gxl.c b/drivers/net/phy/meson-gxl.c index a52645566d0d..0a34656a2086 100644 --- a/drivers/net/phy/meson-gxl.c +++ b/drivers/net/phy/meson-gxl.c @@ -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