]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitba2741f6c57006b3ca96a63923b313086c5a7ce2
tree2f2c8a64ce42c76b18d50df243a4c510c0f0c9f4
parente400108cc648511fdee69e1853d0b39340da5a8b
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