From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752887AbcGOIkb (ORCPT ); Fri, 15 Jul 2016 04:40:31 -0400 Received: from sym2.noone.org ([178.63.92.236]:48390 "EHLO sym2.noone.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751471AbcGOIk3 (ORCPT ); Fri, 15 Jul 2016 04:40:29 -0400 Date: Fri, 15 Jul 2016 10:40:23 +0200 From: Tobias Klauser To: Philippe Reynes Cc: davem@davemloft.net, andrew@lunn.ch, colin.king@canonical.com, f.fainelli@gmail.com, jcmvbkbc@gmail.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 1/2] net: ethernet: ethoc: use phydev from struct net_device Message-ID: <20160715084022.GE28466@distanz.ch> References: <1468569552-24824-1-git-send-email-tremyfr@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1468569552-24824-1-git-send-email-tremyfr@gmail.com> X-Editor: Vi IMproved 7.3 User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2016-07-15 at 09:59:11 +0200, Philippe Reynes wrote: > 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 Reviewed-by: Tobias Klauser Thanks