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

2016-05-16 Thread David Miller
From: Philippe Reynes Date: Mon, 16 May 2016 01:30:08 +0200 > 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

RE: [PATCH 1/2] net: ethernet: gianfar: use phydev from struct net_device

2016-05-16 Thread Claudiu Manoil
>-Original Message- >From: Philippe Reynes [mailto:trem...@gmail.com] >Sent: Monday, May 16, 2016 2:30 AM >To: claudiu.man...@freescale.com; da...@davemloft.net >Cc: netdev@vger.kernel.org; linux-ker...@vger.kernel.org; Philippe Reynes > >Subject: [PATCH 1/2] net: e

[PATCH 1/2] net: ethernet: gianfar: use phydev from struct net_device

2016-05-15 Thread Philippe Reynes
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 --- drivers/net/ethernet