]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
net: ethernet: ftgmac100: use phydev from struct net_device
authorPhilippe Reynes <tremyfr@gmail.com>
Sun, 15 May 2016 23:35:13 +0000 (01:35 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 17 May 2016 01:51:41 +0000 (21:51 -0400)
commitb3c40adcc9891a709d30b620f0cabd4679a355b5
tree5cf8f4f321880ca94c479987336bced000e9a88c
parentcd5f9bb4be950079e911a64972dd7311f0bf8534
net: ethernet: ftgmac100: 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/faraday/ftgmac100.c