]> git.karo-electronics.de Git - karo-tx-linux.git/commit
net: ethernet: altera_tse: use phydev from struct net_device
authorPhilippe Reynes <tremyfr@gmail.com>
Sat, 18 Jun 2016 14:37:20 +0000 (16:37 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 22 Jun 2016 20:22:41 +0000 (16:22 -0400)
commit941ea69e176bc5cc8a359c6b608250fc950be0b1
tree188e638db93a239409dd2cd550ff6212f417912c
parent91cd3b4499bfbf6d5a412b4f9e3da9d260a1412f
net: ethernet: altera_tse: 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>
drivers/net/ethernet/altera/altera_tse.h
drivers/net/ethernet/altera/altera_tse_ethtool.c
drivers/net/ethernet/altera/altera_tse_main.c