t-next.git - net-next plumbings
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilippe Reynes <tremyfr@gmail.com>2016-07-30 17:42:11 +0200
committerDavid S. Miller <davem@davemloft.net>2016-08-08 15:42:21 -0700
commitc6c022e3602a8165ead71d60ac7ac22e07c81d37 (patch)
treee5fb05f1e165b6c31cb8961d0f29f03d921f4e0e
parent72582fdb92457a1550dac0e271bde9dd906fda05 (diff)
net: ethernet: marvell: mvneta: 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 phy_dev 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>