commit | a4fc549af8addaf0d99a85b4dd1b34a54d12d05e | [log] [tgz] |
---|---|---|
author | Philippe Reynes <tremyfr@gmail.com> | Thu Jul 14 15:20:46 2016 +0200 |
committer | David S. Miller <davem@davemloft.net> | Fri Jul 15 16:41:33 2016 -0700 |
tree | c4830be592d71472d4e19f005790721578a19242 | |
parent | 02a198777e646a12a8aabae5639f1d33d81d79ef [diff] |
net: ethernet: tc35815: 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 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>