From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Miller Subject: Re: [PATCH 1/2] net: ethernet: apm: xgene: use phydev from struct net_device Date: Tue, 13 Sep 2016 11:45:55 -0400 (EDT) Message-ID: <20160913.114555.775860065863598625.davem@davemloft.net> References: <1473609244-4365-1-git-send-email-tremyfr@gmail.com> Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: isubramanian@apm.com, kchudgar@apm.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org To: tremyfr@gmail.com Return-path: In-Reply-To: <1473609244-4365-1-git-send-email-tremyfr@gmail.com> Sender: linux-kernel-owner@vger.kernel.org List-Id: netdev.vger.kernel.org From: Philippe Reynes Date: Sun, 11 Sep 2016 17:54:03 +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_dev in the private structure, and update the driver to use the > one contained in struct net_device. > > Signed-off-by: Philippe Reynes Applied.