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)
commit17d735fc466b1ed9a3ae237da248cdb03ad396d1
treeed788cd258d2601eb32d2dc11bbceca539b1fcd7
parent3fee1bddbe8584e6c5663028cec7f81031fb9d2e
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