commit | d6d50c7ea42d3659782695bfebf4ae6548d00db5 | [log] [tgz] |
---|---|---|
author | Philippe Reynes <tremyfr@gmail.com> | Mon Oct 03 08:28:19 2016 +0200 |
committer | David S. Miller <davem@davemloft.net> | Wed Oct 12 01:40:25 2016 -0400 |
tree | 38a1c43baf41aac0cc61e2e462f6eeee0cd23114 | |
parent | a54e1612bc3dd4a3974b69a6043dd4ddbab14e6d [diff] |
net: stmmac: 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>