commit | b21fcb259313bcf7d4f73ecd5e44948995c8957c | [log] [tgz] |
---|---|---|
author | Philippe Reynes <tremyfr@gmail.com> | Sun Jun 19 22:37:05 2016 +0200 |
committer | David S. Miller <davem@davemloft.net> | Wed Jun 22 16:23:29 2016 -0400 |
tree | cb9c0aa0f0b6d20c70a8777e6c89d93d7d2f38a0 | |
parent | 11bbb171b921dc777113a2383c945d66db229eaf [diff] |
net: ethernet: bgmac: 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> Signed-off-by: David S. Miller <davem@davemloft.net>