net: phy: remove calls to genphy_config_init
authorHeiner Kallweit <hkallweit1@gmail.com>
Sat, 17 Aug 2019 10:29:25 +0000 (12:29 +0200)
committerDavid S. Miller <davem@davemloft.net>
Sat, 17 Aug 2019 19:34:50 +0000 (12:34 -0700)
commitc227ce4423855bddb41a05ad25a93f13b96c89bd
tree7a946bfaf68a1006c41507726a679e37b183cfc1
parenta4d2113e46c1d2ded1bfed9a19fe17b5ab2d584c
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>
drivers/net/phy/adin.c
drivers/net/phy/at803x.c
drivers/net/phy/dp83822.c
drivers/net/phy/dp83848.c
drivers/net/phy/dp83tc811.c
drivers/net/phy/meson-gxl.c
drivers/net/phy/microchip.c
drivers/net/phy/microchip_t1.c
drivers/net/phy/mscc.c
drivers/net/phy/vitesse.c