commit | 5427ccafe61a95b945730a23c3f7645a96a24fd7 | [log] [tgz] |
---|---|---|
author | Philippe Reynes <tremyfr@gmail.com> | Sat Jun 18 15:15:39 2016 +0200 |
committer | David S. Miller <davem@davemloft.net> | Wed Jun 22 16:22:41 2016 -0400 |
tree | 7d1de23820876439d96bb98d880f6918c5a20393 | |
parent | 0e9390ebf1fe0d38f7df66a3d8183cbc5349a564 [diff] |
net: ethernet: sun4i-emac: 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>