]> 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)
commit69d3867625c04009951d7507847326fcbd2bd686
tree8638964f164a8b4453d80efab438aa26f60d71e4
parent8667a7b1424047283ffa4f6370c0bbdab5f040e7
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