generic: ar8216: reuse the private data from ar8216_probe
authorGabor Juhos <juhosg@openwrt.org>
Mon, 11 Feb 2013 16:11:30 +0000 (16:11 +0000)
committerGabor Juhos <juhosg@openwrt.org>
Mon, 11 Feb 2013 16:11:30 +0000 (16:11 +0000)
commit3f3eba88f61b7384e5308e6af07820a7650257c3
tree171c427438f24aed803c85c58c373bc4bd908f7f
parent1afb759b35e07b791e0fa772037b911d20851e0f
generic: ar8216: reuse the private data from ar8216_probe

The private data of the switch is already
allocated in ar8216_priv, assign that to
each PHY on the same MDIO bus. Also remove
the redundant code from ar8216_config_init.

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