Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp8985684ybi; Tue, 23 Jul 2019 19:30:09 -0700 (PDT) X-Google-Smtp-Source: APXvYqxY6bYSMrUtvhU8KjeCnyqC+b36G3e8m3UcoZy75jStYh68rUrvdW3fEzUNaI2F1RMNZxyb X-Received: by 2002:a62:5c47:: with SMTP id q68mr9004762pfb.205.1563935409460; Tue, 23 Jul 2019 19:30:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1563935409; cv=none; d=google.com; s=arc-20160816; b=irPDC/8qdwflOuj9sSSTZr4a6+sAkzE3Fx6lkSSQujSlCuWfU5CeatK7Ri7GtwggQM /35bMuAcKMPfx3Fgf+PQkX9e/JWIy44HwnJT4zk1ubjmkWSTxUCjoENG1gknhrNi8Axx bkcYJmr4DslAcC5oICu9nFzhKUJ+IoTEyhm+LpX3+Z/IFpbqzHd25TiFx1vwr9uzHnpm zq1H2PJJqXRHblc6+qjhE42cM6iJYMLwP+GNHxqIR09GkujjumKsMXJZJTvgUrAMnap8 Xt2fqHLOl+BaIi2eaqUm24Ks+iS3zQu9Sx5mG8rREZfPboIItndepneECLlRI0GNsw6/ 3HDA== 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=BZ3QSUzHr3jKCrDUmcoX1OmZ/MIDz3hQ+WlUMKIv4e4=; b=Z6XQbMw3018ZArHsB5i0mM0uHA4j20Zcdyg9F8lXATCwDdHXxQPqOVk3vqW/2Ny9M8 4SJwNPpyopDucVIBjPEwGNCO66Ij530cZAVMmnC9X6byjXePSlnn9FrA6gTUvq1KZyCQ yduPIuHlYj9un6yKoQNCNQAoLyZtQYtyDcC/q7jiV8uEQxsG7i7js4N1SzkxhAcSh0B/ k1faabV2NgJOh6yR+cn3eD+EL2HgDVEJigWTasQ/UrSP5BnZXYgA9Ry5oMFHksdz2eN6 UoEwfeiij9oAwgijxcHGq8oiGQMm7dH55f40/xX70P89T0POHzWf7yx3j383bhHSRR2e Ujaw== 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 f1si8086621pgn.149.2019.07.23.19.29.53; Tue, 23 Jul 2019 19:30:09 -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 S2403926AbfGWUDa (ORCPT + 99 others); Tue, 23 Jul 2019 16:03:30 -0400 Received: from shards.monkeyblade.net ([23.128.96.9]:35928 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726686AbfGWUD3 (ORCPT ); Tue, 23 Jul 2019 16:03:29 -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 723CE153BAE8E; Tue, 23 Jul 2019 13:03:29 -0700 (PDT) Date: Tue, 23 Jul 2019 13:03:29 -0700 (PDT) Message-Id: <20190723.130329.976054867944575896.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] igb: Use dev_get_drvdata where possible From: David Miller In-Reply-To: <20190723141624.5911-1-hslester96@gmail.com> References: <20190723141624.5911-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:29 -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:16:24 +0800 > Instead of using to_pci_dev + pci_get_drvdata, > use dev_get_drvdata to make code simpler. > > Signed-off-by: Chuhong Yuan Applied.