OSDN Git Service

net: pcs: pcs-lynx: use phylink_get_link_timer_ns() helper
authorRussell King (Oracle) <rmk+kernel@armlinux.org.uk>
Thu, 12 Jan 2023 14:37:06 +0000 (14:37 +0000)
committerJakub Kicinski <kuba@kernel.org>
Sat, 14 Jan 2023 05:52:50 +0000 (21:52 -0800)
commite2a9575025fe986a6146569a32093d7f8993ebde
tree5eae2e2ac8694290114a6a2d31b969d6ce5e69b5
parent28dbf774bc879c1841d58cb711aaea6198955b95
net: pcs: pcs-lynx: use phylink_get_link_timer_ns() helper

Use the phylink_get_link_timer_ns() helper to get the period for the
link timer.

Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Link: https://lore.kernel.org/r/E1pFyhW-0067jq-Fh@rmk-PC.armlinux.org.uk
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/pcs/pcs-lynx.c