commit | 62469c76007e11428e2ee3c6de90cbe74b588d44 | [log] [tgz] |
---|---|---|
author | Philippe Reynes <tremyfr@gmail.com> | Sun Jul 03 17:33:56 2016 +0200 |
committer | David S. Miller <davem@davemloft.net> | Mon Jul 04 16:02:45 2016 -0700 |
tree | 0c80db86c8f08034d56a39869ea512ed89280ba2 | |
parent | 4694e6e3f40c2ece234b65f0cda776c5590c0618 [diff] |
net: ethernet: bcmgenet: 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>