commit | 2ebc440a1f2be7c572c8ea174d1b2a6a0d4e41a3 | [log] [tgz] |
---|---|---|
author | Philippe Reynes <tremyfr@gmail.com> | Sat Jun 25 22:05:26 2016 +0200 |
committer | David S. Miller <davem@davemloft.net> | Tue Jun 28 09:12:35 2016 -0400 |
tree | cb2da7ea3d872db9a6108c5eb0ac72f19deeae57 | |
parent | cffce3615dd582ac30a2a0d81d9a46aaa8f4e0bb [diff] |
net: ethernet: sxgbe: 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>