OSDN Git Service

Merge branch 'net-phy-remove-genphy_config_init'
authorDavid S. Miller <davem@davemloft.net>
Sat, 17 Aug 2019 19:34:50 +0000 (12:34 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sat, 17 Aug 2019 19:34:50 +0000 (12:34 -0700)
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 <davem@davemloft.net>

Trivial merge