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

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
...@@ -147,7 +147,7 @@ static int meson_gxl_config_init(struct phy_device *phydev) ...@@ -147,7 +147,7 @@ static int meson_gxl_config_init(struct phy_device *phydev)
if (ret) if (ret)
return ret; return ret;
return 0; return genphy_config_init(phydev);
} }
/* This function is provided to cope with the possible failures of this phy /* This function is provided to cope with the possible failures of this phy
......
Markdown is supported
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