OSDN Git Service

Merge branch 'net-phy-marvell10g-Clean-get_features-by-using-C45-helpers'
authorDavid S. Miller <davem@davemloft.net>
Thu, 28 Feb 2019 05:41:41 +0000 (21:41 -0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 28 Feb 2019 05:41:41 +0000 (21:41 -0800)
Maxime Chevallier says:

====================
net: phy: marvell10g: Clean .get_features by using C45 helpers

Recent work on C45 helpers by Heiner made the
genphy_c45_pma_read_abilities function generic enough to use as a
default .get_featutes implementation.

This series removes the remaining redundant code in
mv3310_get_features(), and makes the 2110 PHY use
genphy_c45_pma_read_abilities() directly, since it doesn't have the
issue with the wrong abilities being reported.
====================

Signed-off-by: David S. Miller <davem@davemloft.net>

Trivial merge