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)
commitf55f5c681aebc5cc2ad707ac18b42de485aff8eb
treee6b60000e8e0ddd4e7d7b00557efd67b78dc817f
parent6166a1a12232aeb99cc8cc8557260d0cea2a1d7c
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35559 3c298f89-4303-0410-b956-a3cf2f4a3e73
target/linux/generic/files/drivers/net/phy/ar8216.c