From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Miller Subject: Re: [PATCH 1/2] net: ethernet: ti: cpmac: use phydev from struct net_device Date: Fri, 15 Jul 2016 16:44:21 -0700 (PDT) Message-ID: <20160715.164421.517772550793893346.davem@davemloft.net> References: <1468579142-14138-1-git-send-email-tremyfr@gmail.com> Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: florian@openwrt.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org To: tremyfr@gmail.com Return-path: Received: from shards.monkeyblade.net ([184.105.139.130]:56600 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752502AbcGOXoW (ORCPT ); Fri, 15 Jul 2016 19:44:22 -0400 In-Reply-To: <1468579142-14138-1-git-send-email-tremyfr@gmail.com> Sender: netdev-owner@vger.kernel.org List-ID: From: Philippe Reynes 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 Applied.