commit | 0f635171e3adad749c2f374aeac97594aba24b52 | [log] [tgz] |
---|---|---|
author | Philippe Reynes <tremyfr@gmail.com> | Sat Aug 20 00:52:18 2016 +0200 |
committer | David S. Miller <davem@davemloft.net> | Sat Aug 20 22:27:17 2016 -0700 |
tree | 95cf6e1a9e7a8a78ce11f96a1fab1b48e4e17f10 | |
parent | f290040dc5de0dbfa85b64555e1b7d0425276357 [diff] |
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>