Re: [PATCH 1/2] net: ethernet: ti: cpmac: use phydev from struct net_device

From: David Miller
Date: Fri Jul 15 2016 - 19:44:33 EST


From: Philippe Reynes <tremyfr@xxxxxxxxx>
Date: Fri, 15 Jul 2016 12:39:01 +0200

> The private structure contain a pointer to phydev, but the structure
> net_device already contain such pointer. So we can remove the pointer
> phy in the private structure, and update the driver to use the
> one contained in struct net_device.
>
> Signed-off-by: Philippe Reynes <tremyfr@xxxxxxxxx>

Applied.