net: phy: split out PHY speed and duplex string generation
authorRussell King <rmk+kernel@armlinux.org.uk>
Tue, 25 Jul 2017 14:02:42 +0000 (15:02 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 7 Aug 2017 03:55:28 +0000 (20:55 -0700)
commitda4625ac2637e4e5249dc08a10f8dce7643603d2
tree8f238e7068ae01b85fd79c545925ca26f9aef6a7
parentc3ecbe757c973d59994d9496b829052ed688ae1e
net: phy: split out PHY speed and duplex string generation

Other code would like to make use of this, so make the speed and duplex
string generation visible, and place it in a separate file.

Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/phy-core.c
drivers/net/phy/phy.c
include/linux/phy.h