net: pcs: lynx: remove lynx_get_mdio_device()
authorRussell King (Oracle) <rmk+kernel@armlinux.org.uk>
Wed, 7 Jun 2023 11:58:24 +0000 (12:58 +0100)
committerJakub Kicinski <kuba@kernel.org>
Fri, 9 Jun 2023 02:19:50 +0000 (19:19 -0700)
commitb3b984dc0ba60ce4787f661d8fc7f44e8953b51d
tree55e913991e9d57ef8b4e0cdd00a1fb9141a9668b
parentd7b6ea1a14e454ae480274a68daed9136409376f
net: pcs: lynx: remove lynx_get_mdio_device()

lynx_get_mdio_device() is no longer necessary, let's remove it so the
lynx PCS code is always managing the lifetime of the mdiodev.

Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/pcs/pcs-lynx.c
include/linux/pcs-lynx.h