net: ethernet: renesas: ravb: use phydev from struct net_device
authorPhilippe Reynes <tremyfr@gmail.com>
Fri, 19 Aug 2016 22:52:18 +0000 (00:52 +0200)
committerDavid S. Miller <davem@davemloft.net>
Sun, 21 Aug 2016 05:27:17 +0000 (22:27 -0700)
commit0f635171e3adad749c2f374aeac97594aba24b52
tree95cf6e1a9e7a8a78ce11f96a1fab1b48e4e17f10
parentf290040dc5de0dbfa85b64555e1b7d0425276357
net: ethernet: renesas: ravb: 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_dev 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>
Acked-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/renesas/ravb.h
drivers/net/ethernet/renesas/ravb_main.c