summaryrefslogtreecommitdiff
path: root/drivers/net/phy/meson-gxl.c
diff options
context:
space:
mode:
authorJerome Brunet <jbrunet@baylibre.com>2017-12-18 10:44:43 +0100
committerDavid S. Miller <davem@davemloft.net>2017-12-18 13:24:56 -0500
commitc1e535510f6e9f8b64814aa2ddf2347610b3396d (patch)
tree0e47d0e35f7e22608a8c568f79f6b30855325a1a /drivers/net/phy/meson-gxl.c
parentfdaa84c37151f7f8080dc2d7842f681d9790fb87 (diff)
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 <andrew@lunn.ch> Signed-off-by: Jerome Brunet <jbrunet@baylibre.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/phy/meson-gxl.c')
-rw-r--r--drivers/net/phy/meson-gxl.c2
1 files changed, 1 insertions, 1 deletions
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