generic: ar8216: simplify and rename ar8327_config_port
authorGabor Juhos <juhosg@openwrt.org>
Fri, 15 Mar 2013 15:49:57 +0000 (15:49 +0000)
committerGabor Juhos <juhosg@openwrt.org>
Fri, 15 Mar 2013 15:49:57 +0000 (15:49 +0000)
commit35972392544712076f97131cfedef9951c55c6c5
tree60b1ae719ad9686b0146658bf2d2bf1cd702cea7
parent179fa1ccfb86b761b144684b16ec694dc185387b
generic: ar8216: simplify and rename ar8327_config_port

Return with the PORT_STATUS register value instead of
writing that directly into the corresponding register.
Also rename the function to ar8327_get_port_init_status.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 36043
target/linux/generic/files/drivers/net/phy/ar8216.c