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)
commit59d0f749bf3e6fea1ba3f9860ccf8b9ae7b3bb0e
tree9bb548f6da088ffdad8a3f31e33d5e4b203a7507
parenta4d2113e46c1d2ded1bfed9a19fe17b5ab2d584c
parent4b9cb2a5ceedd7f715d92570b773fad024ca9950
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 <davem@davemloft.net>