commit | 9e8e6e880d9346508d1eb6a632bb9e0048cc0bea | [log] [tgz] |
---|---|---|
author | Philippe Reynes <tremyfr@gmail.com> | Sat Jul 02 23:36:59 2016 +0200 |
committer | David S. Miller <davem@davemloft.net> | Mon Jul 04 15:59:51 2016 -0700 |
tree | bf007d6a4f5432d63e5a728598f83eea63ff83ab | |
parent | 5d4de16c6db6ecc51a549bfbf7ca1c11c82a4240 [diff] |
net: ethernet: cavium: octeon: 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>