]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite2e8459d591fecb2d288411339670b1e2bd2e769
tree9bb548f6da088ffdad8a3f31e33d5e4b203a7507
parent0354b6f48c4eeae50a50e0f32f39161dd14b3fb3
parentf3ace6f2819014b7e4b2f54de15daf5d6574f31e
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>