ath79: ag71xx: replace ag71xx_get_phy_if_mode_name() with phy_modes()
authorChuanhong Guo <gch981213@gmail.com>
Fri, 14 Dec 2018 15:38:49 +0000 (23:38 +0800)
committerDaniel Golle <daniel@makrotopia.org>
Tue, 5 Mar 2019 02:02:34 +0000 (03:02 +0100)
commitf73b2d64ed56c1ba41c1ef906ef292d07f839def
tree861b3e90b463bb51c5e7ae2dc3113bf9492d9bab
parente7aa4c0db7eb3e81163682f570a9aecbb9fa8aed
ath79: ag71xx: replace ag71xx_get_phy_if_mode_name() with phy_modes()

phy_modes() in phy.h can convert PHY modes to string with supports
for all available PHY modes.

Also add a space in mode printing to make it look better.

Signed-off-by: Chuanhong Guo <gch981213@gmail.com>
target/linux/ath79/files/drivers/net/ethernet/atheros/ag71xx/ag71xx_main.c