net: ibm: emac: replace custom rgmii_mode_name with phy_modes
authorChristian Lamparter <chunkeey@gmail.com>
Wed, 20 Dec 2017 22:01:48 +0000 (23:01 +0100)
committerDavid S. Miller <davem@davemloft.net>
Thu, 21 Dec 2017 18:09:41 +0000 (13:09 -0500)
commit49dd19bf7457b491e1321b19c7101453db222dbc
tree2f2c8a64ce42c76b18d50df243a4c510c0f0c9f4
parent90bbec0f912a09f4b34b2170e95f02ed0b445119
net: ibm: emac: replace custom rgmii_mode_name with phy_modes

phy_modes() in the common phy.h already defines the same phy mode
names in lower case. The deleted rgmii_mode_name() is used only
in one place and for a "notice-level" printk. Hence, it will not
be missed.

Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/ibm/emac/rgmii.c