commit | 9fd0375ad376d1f98f4af929fdbefa141c86b800 | [log] [tgz] |
---|---|---|
author | Philippe Reynes <tremyfr@gmail.com> | Wed Aug 10 00:04:48 2016 +0200 |
committer | David S. Miller <davem@davemloft.net> | Wed Aug 10 23:14:53 2016 -0700 |
tree | 921bce425565725e891b73bebe9931a7be53b8b2 | |
parent | 05b8ad25bc8b045721a93d04cf8dcf6f74b3cd6a [diff] |
net: ethernet: renesas: sh_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 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> Tested-by: Simon Horman <horms+renesas@verge.net.au> Signed-off-by: David S. Miller <davem@davemloft.net>