commit | 46bb0bb094661ef6d251c1f63f6452123f6b273b | [log] [tgz] |
---|---|---|
author | Philippe Reynes <tremyfr@gmail.com> | Sat Jun 18 23:16:54 2016 +0200 |
committer | David S. Miller <davem@davemloft.net> | Sun Jun 19 10:55:16 2016 -0700 |
tree | e6ece779088d4b79369a5fe04e9876285e5ac112 | |
parent | bd081e4b0252c534c27642c9bd8a296ec1e03431 [diff] |
net: ethernet: nb8800: 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 phydev 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> Acked-by: Mans Rullgard <mans@mansr.com> Signed-off-by: David S. Miller <davem@davemloft.net>