mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-26 10:49:33 +00:00
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>
This commit is contained in:
parent
fdaa84c371
commit
c1e535510f
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue