net: phy: remove calls to genphy_config_init

Supported PHY features are either auto-detected or explicitly set.
In both cases calling genphy_config_init isn't needed. All that
genphy_config_init does is removing features that are set as
supported but can't be auto-detected. Basically it duplicates the
code in genphy_read_abilities. Therefore remove such calls from
all PHY drivers.

v2:
- remove call also from new adin PHY driver
v3:
- pass NULL as config_init function pointer for dp83848

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
这个提交包含在:
Heiner Kallweit
2019-08-17 12:29:25 +02:00
提交者 David S. Miller
父节点 a4d2113e46
当前提交 c227ce4423
修改 10 个文件,包含 9 行新增33 行删除

查看文件

@@ -136,7 +136,7 @@ static int meson_gxl_config_init(struct phy_device *phydev)
if (ret)
return ret;
return genphy_config_init(phydev);
return 0;
}
/* This function is provided to cope with the possible failures of this phy