commit | de0eabf86d005ab6b4fd5a5c254dcfe230d88a20 | [log] [tgz] |
---|---|---|
author | Philippe Reynes <tremyfr@gmail.com> | Thu Jun 16 00:12:48 2016 +0200 |
committer | David S. Miller <davem@davemloft.net> | Thu Jun 16 17:07:05 2016 -0700 |
tree | 095b239540f62d995cd986c787dd32a413ac310b | |
parent | b4eccef8f30b01e2c09bdd9571c81ed817c3701f [diff] |
net: ethernet: ax88796: 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> Signed-off-by: David S. Miller <davem@davemloft.net>