generic: ar8216: reuse the private data from ar8216_probe
authorjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Mon, 11 Feb 2013 16:11:30 +0000 (16:11 +0000)
committerjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Mon, 11 Feb 2013 16:11:30 +0000 (16:11 +0000)
commit39c34fd7b3bd275cff53e1ea536af940d00fe940
treee6b60000e8e0ddd4e7d7b00557efd67b78dc817f
parentddf1e04eecbd30dc2ae54207342c8b94ec7d091f
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