commit | c332177e5ee5ef9280d346fb1cba0f00ffe4c18d | [log] [tgz] |
---|---|---|
author | Philippe Reynes <tremyfr@gmail.com> | Sat Jul 02 00:02:34 2016 +0200 |
committer | David S. Miller <davem@davemloft.net> | Sat Jul 02 14:51:11 2016 -0400 |
tree | 50263986d2f32db8f0851a040df06ff09d52a524 | |
parent | 513334e18a74f70c0be58c2eb73af1715325b870 [diff] |
net: ethernet: davinci_emac: 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 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>