From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Miller Subject: Re: [PATCH v2 1/2] net: ethernet: ethoc: use phydev from struct net_device Date: Fri, 15 Jul 2016 16:43:36 -0700 (PDT) Message-ID: <20160715.164336.1049594701903738110.davem@davemloft.net> References: <1468569552-24824-1-git-send-email-tremyfr@gmail.com> Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: andrew@lunn.ch, tklauser@distanz.ch, colin.king@canonical.com, f.fainelli@gmail.com, jcmvbkbc@gmail.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org To: tremyfr@gmail.com Return-path: In-Reply-To: <1468569552-24824-1-git-send-email-tremyfr@gmail.com> Sender: linux-kernel-owner@vger.kernel.org List-Id: netdev.vger.kernel.org From: Philippe Reynes Date: Fri, 15 Jul 2016 09:59:11 +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 Applied.