net: phy: teranetics: Utilize generic functions
authorFlorian Fainelli <f.fainelli@gmail.com>
Fri, 2 Mar 2018 00:08:57 +0000 (16:08 -0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 2 Mar 2018 02:23:34 +0000 (21:23 -0500)
commitaebc78a40b8862e27f374fc7016cd9b4654488ed
tree745574070d0a6b2e4afacf3287a0b982a8640c90
parente8a714e086e42972fd0e2d59e90c28eb2d839429
net: phy: teranetics: Utilize generic functions

Update teranetics_aneg_done() to use genphy_c45_aneg_done() instead of
duplicating that code, and switch to gen10g_* functions where
appropriate instead of maintaining identical copies doing nothing.

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
drivers/net/phy/teranetics.c