commit | 971d3a44c00dcb27353f929c4c28367956c15527 | [log] [tgz] |
---|---|---|
author | Philippe Reynes <tremyfr@gmail.com> | Sun Sep 11 17:54:03 2016 +0200 |
committer | David S. Miller <davem@davemloft.net> | Tue Sep 13 11:45:19 2016 -0400 |
tree | 1734225645f061008bb7068e6567084df3e1b242 | |
parent | a5f54fcc8a63f4e93ea48243c3a762aa848299d5 [diff] |
net: ethernet: apm: xgene: 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 phy_dev 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>