commit | 715a022703e2d2e2e8e607fcd82f483bf8494202 | [log] [tgz] |
---|---|---|
author | Philippe Reynes <tremyfr@gmail.com> | Sun Jun 19 20:39:08 2016 +0200 |
committer | David S. Miller <davem@davemloft.net> | Sun Jun 19 16:15:55 2016 -0700 |
tree | 59907357b9dfa81189e762a4fca2a54b7d178762 | |
parent | 90789322c3bb9ece244f1fc6bf62667eae9814f2 [diff] |
net: ethernet: bcmsysport: 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> Reviewed-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>