]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
net: phy: use phy_resolve_aneg_linkmode in genphy_read_status
authorHeiner Kallweit <hkallweit1@gmail.com>
Thu, 14 Feb 2019 21:16:27 +0000 (22:16 +0100)
committerDavid S. Miller <davem@davemloft.net>
Sun, 17 Feb 2019 23:21:38 +0000 (15:21 -0800)
commit5502b218e00161efd20ff1a789f51a332f13f8cd
tree45c3c523f076dc43625dbc672a0028846d4091c5
parenta2703de7094211a77f458638289381b2955e0a5d
net: phy: use phy_resolve_aneg_linkmode in genphy_read_status

Now that we have phy_resolve_aneg_linkmode() we can make
genphy_read_status() much simpler.

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/phy_device.c