commit | 262b38cdb3e47d402f4fdf76fcf3e8c4c8380a52 | [log] [tgz] |
---|---|---|
author | Philippe Reynes <tremyfr@gmail.com> | Tue Sep 20 22:30:11 2016 +0200 |
committer | David S. Miller <davem@davemloft.net> | Thu Sep 22 02:11:40 2016 -0400 |
tree | 8e847277369d42a7ab42fb7a2dfe5c9a162f72ea | |
parent | e82f71489ffb325a9b7bca367b06a39315452dfe [diff] |
net: ethernet: hisilicon: hns: 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>