net: ethernet: mediatek: use phydev from struct net_device
authorSean Wang <sean.wang@mediatek.com>
Thu, 22 Sep 2016 08:33:35 +0000 (16:33 +0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 22 Sep 2016 12:22:27 +0000 (08:22 -0400)
commit2364c5c5ec14e936826eb10af56a337ccec01ffa
tree1775165e2d419d6366806d9c3f5af69bddd2d2c5
parent4fa01af4845633d1b33ec2dfb9b5c3da0b3408f4
net: ethernet: mediatek: use phydev from struct net_device

reuse phydev already in struct net_device instead of creating
another new one in private structure.

Signed-off-by: Sean Wang <sean.wang@mediatek.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mediatek/mtk_eth_soc.c
drivers/net/ethernet/mediatek/mtk_eth_soc.h