commit | b401a9bce7f3e73ebbe10639e0986f7f3b01e5ca | [log] [tgz] |
---|---|---|
author | Philippe Reynes <tremyfr@gmail.com> | Fri Jul 15 12:39:01 2016 +0200 |
committer | David S. Miller <davem@davemloft.net> | Fri Jul 15 16:41:35 2016 -0700 |
tree | 5e4872c7e4db6079e3bf408b1d2afeca24d23a29 | |
parent | b4cafd8c4909187cb17b358be60ec3b86e91af00 [diff] |
net: ethernet: ti: cpmac: 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>