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)
commitd8afbc9795a5d05f1ca47a3ee817d2c07f3d7efe
tree71f08fac64c20d505414c81ac432a18a82270a00
parent87750d173c35ff8f1ddc909fdf58393e111e5356
parent41e2a99fb9fa3e786c3f796d502c1babd116266f
Merge branch 'net-phy-marvell10g-Clean-get_features-by-using-C45-helpers'

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>