From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752545AbcF1NOM (ORCPT ); Tue, 28 Jun 2016 09:14:12 -0400 Received: from shards.monkeyblade.net ([149.20.54.216]:56724 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752096AbcF1NOK (ORCPT ); Tue, 28 Jun 2016 09:14:10 -0400 Date: Tue, 28 Jun 2016 09:13:39 -0400 (EDT) Message-Id: <20160628.091339.1300422156960954801.davem@davemloft.net> To: tremyfr@gmail.com Cc: mugunthanvnm@ti.com, a@unstable.cc, fw@strlen.de, felipe.balbi@linux.intel.com, arnd@arndb.de, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/2] net: ethernet: hix5hd2: use phydev from struct net_device From: David Miller In-Reply-To: <1466866513-4351-1-git-send-email-tremyfr@gmail.com> References: <1466866513-4351-1-git-send-email-tremyfr@gmail.com> X-Mailer: Mew version 6.7 on Emacs 24.5 / Mule 6.0 (HANACHIRUSATO) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.12 (shards.monkeyblade.net [149.20.54.216]); Tue, 28 Jun 2016 06:14:09 -0700 (PDT) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Philippe Reynes Date: Sat, 25 Jun 2016 16:55:12 +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.