commit | 11331fc294da76649a18a79c122efb04835fcad1 | [log] [tgz] |
---|---|---|
author | Philippe Reynes <tremyfr@gmail.com> | Fri Jul 15 09:59:11 2016 +0200 |
committer | David S. Miller <davem@davemloft.net> | Fri Jul 15 16:41:34 2016 -0700 |
tree | b7fd69e2e679661a1c9529172c827b3868928edc | |
parent | 6cf285de0231e53057726aea1fb87ab772765cb7 [diff] |
net: ethernet: ethoc: 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> Reviewed-by: Tobias Klauser <tklauser@distanz.ch> Signed-off-by: David S. Miller <davem@davemloft.net>