commit | 01dea536dc4e8eccd0d7741ec0e3dacd3060055c | [log] [tgz] |
---|---|---|
author | Philippe Reynes <tremyfr@gmail.com> | Sat Jul 02 20:06:51 2016 +0200 |
committer | David S. Miller <davem@davemloft.net> | Mon Jul 04 15:59:52 2016 -0700 |
tree | cee00777197cbb801ea544a2ff9043c8b5a2f80d | |
parent | fa018484cf5ea67678143c4570b63154fa819682 [diff] |
net: ethernet: arc: emac: 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>