net: ethernet: ax88796: use phydev from struct net_device
authorPhilippe Reynes <tremyfr@gmail.com>
Wed, 15 Jun 2016 22:12:48 +0000 (00:12 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 17 Jun 2016 00:07:05 +0000 (17:07 -0700)
commitde0eabf86d005ab6b4fd5a5c254dcfe230d88a20
tree095b239540f62d995cd986c787dd32a413ac310b
parentb4eccef8f30b01e2c09bdd9571c81ed817c3701f
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>
drivers/net/ethernet/8390/ax88796.c