From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751785AbcFYSbT (ORCPT ); Sat, 25 Jun 2016 14:31:19 -0400 Received: from mail-lf0-f68.google.com ([209.85.215.68]:34589 "EHLO mail-lf0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751349AbcFYSbS (ORCPT ); Sat, 25 Jun 2016 14:31:18 -0400 Date: Sat, 25 Jun 2016 21:31:09 +0300 From: Max Filippov To: Philippe Reynes Cc: davem@davemloft.net, andrew@lunn.ch, tklauser@distanz.ch, colin.king@canonical.com, f.fainelli@gmail.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/2] net: ethernet: ethoc: use phydev from struct net_device Message-ID: <20160625183109.GA10453@octofox.metropolis> References: <1466865222-11840-1-git-send-email-tremyfr@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1466865222-11840-1-git-send-email-tremyfr@gmail.com> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Jun 25, 2016 at 04:33:41PM +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 > --- Series: Tested-by: Max Filippov -- Thanks. -- Max