commit | ec87485dbecd95af06ca8b681681c433679db974 | [log] [tgz] |
---|---|---|
author | Philippe Reynes <tremyfr@gmail.com> | Sun Jul 17 01:10:14 2016 +0200 |
committer | David S. Miller <davem@davemloft.net> | Sun Jul 17 23:22:02 2016 -0700 |
tree | 8ef40bfcd1fc4b1d2acc80c38c5e36457162fb7b | |
parent | bd25997d77730d0c6679883a899899a939c704b3 [diff] |
net: ethernet: adi: bfin_mac: 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>