net: ethernet: amd: au1000_eth: use phydev from struct net_device
authorPhilippe Reynes <tremyfr@gmail.com>
Fri, 15 Jul 2016 10:05:11 +0000 (12:05 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 15 Jul 2016 23:41:35 +0000 (16:41 -0700)
commit1e8b73896f15b5a83dfb18924169f23450bae064
treea11aca1b4fad9a5575ce069477c6d17742cd54a3
parenta1b198b71686ea7deaf070cbea4ef371937e5bdf
net: ethernet: amd: au1000_eth: 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/amd/au1000_eth.c
drivers/net/ethernet/amd/au1000_eth.h