commit | 6f96608ec7948475c28e3f2264a38058d28c4141 | [log] [tgz] |
---|---|---|
author | Philippe Reynes <tremyfr@gmail.com> | Sat Jun 25 16:55:12 2016 +0200 |
committer | David S. Miller <davem@davemloft.net> | Tue Jun 28 09:12:35 2016 -0400 |
tree | 36de4085b9f8ece42e06586fce633046db6fe801 | |
parent | 644afe2355198bf213e40f21308a9e7b8e86f216 [diff] |
net: ethernet: hix5hd2: 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>