commit | 65752dda4b525730746085a351e6e936d29bc586 | [log] [tgz] |
---|---|---|
author | Philippe Reynes <tremyfr@gmail.com> | Sat Jul 30 16:22:05 2016 +0200 |
committer | David S. Miller <davem@davemloft.net> | Mon Aug 08 15:42:20 2016 -0700 |
tree | e5f7ba7797f8fc114835ba91c192be2fdde9be1a | |
parent | 0d5704bf4ebe4d83ab46a2206a74faf2fe3a77af [diff] |
net: ethernet: greth: 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>