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)
commitec2e49f381fbe7f9c4efcb3a6c93c44a5088e2ad
treee6b60000e8e0ddd4e7d7b00557efd67b78dc817f
parent667ca72f8df56a390fab9c847883718e63c6beee
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