Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp8984734ybi; Tue, 23 Jul 2019 19:28:49 -0700 (PDT) X-Google-Smtp-Source: APXvYqwNHcXfksxJRiyCCRcJ33iUED8J0fP+zpExX7O/mTK9C9o7iZJProm3WUxzeGGPTXiRV3H2 X-Received: by 2002:a62:27c2:: with SMTP id n185mr747538pfn.79.1563935329696; Tue, 23 Jul 2019 19:28:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1563935329; cv=none; d=google.com; s=arc-20160816; b=HYqJeNKL/5XEvfpCQpZVq9pUFnfVy+ItIE4M9NMEu3sQZ2q3bhIYS05aYSZQfk6zGT zmeblkgbxDquPR8gMGM++P2+486hElY4jnVj8tDOngFfsTYaNRzCDOdqvv073T1uAKCV qxOzDxXJcrRrsHDKsZstjWYOPV3SHrHfn+6WFr7IBQy1SdSYN3l3FCFVg/5rZPCT2YKv 03onBcYUAhsbWdUh/90t2UQJYrDey0g2uGVzOsl+TEGs779kUIuwrj5j1ZuKY0olm0f2 2DgOPnA2Mba4p7WjNvZiDv9WcDn8UIwj3CRE4VCUGziSbJDKvBIyB2JoRO/NO6UaeZAD jAvw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:from:subject:cc:to:message-id:date; bh=o/H6Kc47GtE8rIfQ0uCL/GT/X+mcU+eBUWB4Ch3JKDE=; b=PurCWcwG1nDuuHwlZFpioWhYpDIih9zOFzLQ9J+M5fZeP2yt06kXVBElez0Jc/sJUE bBNDjMsxfSOWNpp6XcN2kNsN/+pTd+MkhVtErrEyZrFuWcqDKWitWqfIAitwoortORgf snbdDtQ8zK//YZMM8i1BjXj44uCX1Fw5sEqYDanYshIHkeY2eMjWFIrkD4OKnI8iT2l9 N5otOz4OEOu0Z3Yos5tsvLQv6wrgYMKdT8ENXZQkkYn8OOPEs1M1Trv2BvqFOdXOd68z xgvcQOyL/1Vl6KSJJKzZPrSgU3W5NrwEl08luPN+Dgz99ZBpUn9qS2Jv9DrlLh5WAcR4 kWfg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v10si12025817plg.320.2019.07.23.19.28.34; Tue, 23 Jul 2019 19:28:49 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2403876AbfGWUDR (ORCPT + 99 others); Tue, 23 Jul 2019 16:03:17 -0400 Received: from shards.monkeyblade.net ([23.128.96.9]:35892 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726384AbfGWUDQ (ORCPT ); Tue, 23 Jul 2019 16:03:16 -0400 Received: from localhost (unknown [IPv6:2601:601:9f80:35cd::d71]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) (Authenticated sender: davem-davemloft) by shards.monkeyblade.net (Postfix) with ESMTPSA id 6369E153BA91B; Tue, 23 Jul 2019 13:03:15 -0700 (PDT) Date: Tue, 23 Jul 2019 13:03:15 -0700 (PDT) Message-Id: <20190723.130315.953291216424012550.davem@davemloft.net> To: hslester96@gmail.com Cc: jeffrey.t.kirsher@intel.com, intel-wired-lan@lists.osuosl.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] e1000e: Use dev_get_drvdata where possible From: David Miller In-Reply-To: <20190723141513.5749-1-hslester96@gmail.com> References: <20190723141513.5749-1-hslester96@gmail.com> X-Mailer: Mew version 6.8 on Emacs 26.1 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, 23 Jul 2019 13:03:15 -0700 (PDT) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Chuhong Yuan Date: Tue, 23 Jul 2019 22:15:13 +0800 > Instead of using to_pci_dev + pci_get_drvdata, > use dev_get_drvdata to make code simpler. > > Signed-off-by: Chuhong Yuan Applied.