commit | 4c4a6b0e8fa24a628cbca3931745d482c66d303e | [log] [tgz] |
---|---|---|
author | Philippe Reynes <tremyfr@gmail.com> | Mon May 16 01:30:08 2016 +0200 |
committer | David S. Miller <davem@davemloft.net> | Mon May 16 21:51:40 2016 -0400 |
tree | e34fc0ea1bfb790398fb303697ebba52535b2f51 | |
parent | 7e2c3aea4398d079745b9faa2c17b6cbd010f221 [diff] |
net: ethernet: gianfar: 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 phydev 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> Acked-by: Claudiu Manoil <claudiu.manoil@nxp.com> Signed-off-by: David S. Miller <davem@davemloft.net>