diff options
author | Russell King <rmk+kernel@armlinux.org.uk> | 2019-11-21 11:55:06 +0000 |
---|---|---|
committer | Russell King <rmk+kernel@armlinux.org.uk> | 2020-01-27 10:33:23 +0000 |
commit | bd339d6574702f8321145d97cc5a158fb33045cd (patch) | |
tree | cc299359141aba446d4cec85bad1a2446e45d0da /drivers/net/appletalk | |
parent | edfa13839c08ba09472beff1c6f810469b04b246 (diff) |
net: phy: marvell: initialise link partner state earlier
Move the initialisation of the link partner state earlier, inside
marvell_read_status_page(), so we don't have the same initialisation
scattered amongst the other files. This is in a similar place to
the genphy implementation, so would result in the same behaviour if
a PHY read error occurs.
This allows us to get rid of marvell_read_status_page_fixed(), which
became a pointless wrapper around genphy_read_status_fixed().
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Diffstat (limited to 'drivers/net/appletalk')
0 files changed, 0 insertions, 0 deletions