]> git.baikalelectronics.ru Git - kernel.git/commit
net: ethernet: lpc_eth: use phydev from struct net_device
authorPhilippe Reynes <tremyfr@gmail.com>
Tue, 28 Jun 2016 21:59:44 +0000 (23:59 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 29 Jun 2016 12:15:33 +0000 (08:15 -0400)
commit3b109f4225bd7a99e0f41f2736f33757a530089c
tree8638964f164a8b4453d80efab438aa26f60d71e4
parent4e8bfb40576c023bce3c81a0e67ce0ba361665d2
net: ethernet: lpc_eth: 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/nxp/lpc_eth.c