From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Miller Subject: Re: [PATCH 1/2] net: ethernet: arc: emac: use phydev from struct net_device Date: Mon, 04 Jul 2016 16:00:34 -0700 (PDT) Message-ID: <20160704.160034.1849848484683231083.davem@davemloft.net> References: <1467482812-13917-1-git-send-email-tremyfr@gmail.com> Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: wxt@rock-chips.com, heiko@sntech.de, al.kochet@gmail.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org To: tremyfr@gmail.com Return-path: In-Reply-To: <1467482812-13917-1-git-send-email-tremyfr@gmail.com> Sender: linux-kernel-owner@vger.kernel.org List-Id: netdev.vger.kernel.org From: Philippe Reynes Date: Sat, 2 Jul 2016 20:06:51 +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.