net: ethernet: ll_temac: use phydev from struct net_device
authorPhilippe Reynes <tremyfr@gmail.com>
Wed, 13 Jul 2016 23:48:51 +0000 (01:48 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 15 Jul 2016 00:42:30 +0000 (17:42 -0700)
commit31abbe34e0f07e8c92f68865cb1d6dde0fe1d52d
treec80fb98c6e8f16e1fd55321de7291b10d5c5c497
parent88b3ec527416f95ac4eae3cd458249143105deb8
net: ethernet: ll_temac: 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
phy 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/xilinx/ll_temac.h
drivers/net/ethernet/xilinx/ll_temac_main.c