From: David S. Miller Date: Sat, 17 Aug 2019 19:34:50 +0000 (-0700) Subject: Merge branch 'net-phy-remove-genphy_config_init' X-Git-Tag: for-linus-2019-09-27~91^2~222 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=59d0f749bf3e6fea1ba3f9860ccf8b9ae7b3bb0e;p=linux-block.git Merge branch 'net-phy-remove-genphy_config_init' Heiner Kallweit says: ==================== net: phy: remove 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 genphy_config_init. v2: - remove call also from new adin driver v3: - pass NULL as config_init function pointer for dp83848 ==================== Signed-off-by: David S. Miller --- 59d0f749bf3e6fea1ba3f9860ccf8b9ae7b3bb0e