]> git.baikalelectronics.ru Git - kernel.git/commit
net: ethernet: marvell: pxa168_eth: use phydev from struct net_device
authorPhilippe Reynes <tremyfr@gmail.com>
Sun, 17 Jul 2016 21:30:45 +0000 (23:30 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 18 Jul 2016 06:22:02 +0000 (23:22 -0700)
commitb7364497495447a6ac9b4c2fb02bb2f28c19ce33
tree475ed05e05a3c5e2c1ee18a303e2242beb944cf1
parentfe3b8c440024572a19082dc2f3f5df7afce8ade7
net: ethernet: marvell: pxa168_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/marvell/pxa168_eth.c