summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@armlinux.org.uk>2019-11-21 11:55:06 +0000
committerRussell King <rmk+kernel@armlinux.org.uk>2020-03-30 12:38:07 +0100
commit5ecdbb6b1f782f468214ef5bdb89d6ebe373ea44 (patch)
tree9d45e0901ff9287d817f83e33f75a6e76d793c1c /include
parent7111951b8d4973bda27ff663f2cf18b663d15b48 (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 'include')
0 files changed, 0 insertions, 0 deletions