net: ethernet: fec-mpc52xx: use phydev from struct net_device
authorPhilippe Reynes <tremyfr@gmail.com>
Mon, 16 May 2016 22:32:33 +0000 (00:32 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 17 May 2016 02:20:06 +0000 (22:20 -0400)
commita54d20f85ab12fab4873d2947b2be965430bf609
treeb9e349ac79c83cc1c34699622f2f1f1c05894a3c
parent9295c034726e025395e6eff3013fa9e3753bcb39
net: ethernet: fec-mpc52xx: use phydev from struct net_device

The private structure contain a pointer to phydev, but the structure
net_device already contain such pointer. So we can remove the pointer
phydev in the private structure, and update the driver to use the
one contained in struct net_device.

Signed-off-by: Philippe Reynes <tremyfr@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/freescale/fec_mpc52xx.c