commit | c6c022e3602a8165ead71d60ac7ac22e07c81d37 | [log] [tgz] |
---|---|---|
author | Philippe Reynes <tremyfr@gmail.com> | Sat Jul 30 17:42:11 2016 +0200 |
committer | David S. Miller <davem@davemloft.net> | Mon Aug 08 15:42:21 2016 -0700 |
tree | e5fb05f1e165b6c31cb8961d0f29f03d921f4e0e | |
parent | 72582fdb92457a1550dac0e271bde9dd906fda05 [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>