commit | 0a91281e5190aa6bc42fa86ba88758add20087fa | [log] [tgz] |
---|---|---|
author | Philippe Reynes <tremyfr@gmail.com> | Wed Jun 22 00:32:35 2016 +0200 |
committer | David S. Miller <davem@davemloft.net> | Sat Jun 25 11:57:33 2016 -0400 |
tree | 62dd6b37928b0b3dd05e4b5ab78cca532851530d | |
parent | 7d904c7bcd51f72579c0c3134a50896c5a3efb9f [diff] |
net: ethernet: macb: 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>