net: ethernet: octeon: 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>
Showing
- drivers/staging/octeon/ethernet-mdio.c 20 additions, 28 deletionsdrivers/staging/octeon/ethernet-mdio.c
- drivers/staging/octeon/ethernet-rgmii.c 1 addition, 1 deletiondrivers/staging/octeon/ethernet-rgmii.c
- drivers/staging/octeon/ethernet.c 5 additions, 7 deletionsdrivers/staging/octeon/ethernet.c
- drivers/staging/octeon/octeon-ethernet.h 0 additions, 1 deletiondrivers/staging/octeon/octeon-ethernet.h
Loading
Please register or sign in to comment