Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp8984603ybi; Tue, 23 Jul 2019 19:28:41 -0700 (PDT) X-Google-Smtp-Source: APXvYqyQdutgLNarnGNnraC4PXssgqaV7p4SvaMPHMLzwGdWPEDEtBoZcZS3aORDluuOEnNiHnqm X-Received: by 2002:a17:90a:c68c:: with SMTP id n12mr85575193pjt.33.1563935321009; Tue, 23 Jul 2019 19:28:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1563935321; cv=none; d=google.com; s=arc-20160816; b=vfwpodqhEx2J33pYH2H6DtdQb5bQp/gcdWmWY9HHQcefOd0TAME4T59D8k6z40U6CW Q82q40o5XuZjZ/RN83QAZegZWM+gSSrUQN9/tgafxXlIofgfugXiEwE4O1GH8H4/GsKe Iy+58cQmU/Ju0atfQZXxeTCywlXQigw1e4E0tZtUTDOoP/ti1HpOnlHMmQwyqEEd+TSb vW2Ct79cB4lRtKaIYr4KuyL/9EOYnykgRt6r+yJewD3SVhC0UGHckb8sip4IoIZKHR62 Tx24BNN09wOpnMezrnx12s1lhrRaznfETd46+c8HykeE4n2A7s6dApBjOuEggj65HFWo gPRA== 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=8D+wO5CYDjYJ0uvhUSOjcQdBNKpbglx/0mx1Lz4roW0=; b=PdYMoiLH6M9yvAPBclgW69JsjEYPpXLPkcR0H2GOkse7Tg8pgscCZ4/sTHUUwMnPSi xNOzkFSiH/RFyd1tdpqNk9BeH8ShvgCUe9P1KK/ScuNuGbUlSReTFkcdGdlphO9DvSv5 e0rc6/5Xi83st0wWuuxlU773M6DId86uwpHI3gSyp3p8aKYMMVWleCkdR/er7+PKgs1s 2Z2DHlgNLSggWEsWvTLjAYpliAiJowRubUOtwzLyGDnk9xiX9gx1jrq4BJKV4y6tFpoZ YlQb2svPo8i1NQjKIQ13YfHF8P2yDM/DCEpLJRBKUj4ELqVtnkKaQnMAqL7Xz0Tgyx8L dGBA== 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 f7si14403079pgv.135.2019.07.23.19.28.25; Tue, 23 Jul 2019 19:28:40 -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 S2391769AbfGWUC4 (ORCPT + 99 others); Tue, 23 Jul 2019 16:02:56 -0400 Received: from shards.monkeyblade.net ([23.128.96.9]:35858 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726384AbfGWUC4 (ORCPT ); Tue, 23 Jul 2019 16:02:56 -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 1EA91153BA91B; Tue, 23 Jul 2019 13:02:56 -0700 (PDT) Date: Tue, 23 Jul 2019 13:02:55 -0700 (PDT) Message-Id: <20190723.130255.1457219322916298145.davem@davemloft.net> To: hslester96@gmail.com Cc: 3chas3@gmail.com, linux-atm-general@lists.sourceforge.net, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] atm: Use dev_get_drvdata From: David Miller In-Reply-To: <20190723081313.18552-1-hslester96@gmail.com> References: <20190723081313.18552-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:02:56 -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 16:13:14 +0800 > Instead of using to_pci_dev + pci_get_drvdata, > use dev_get_drvdata to make code simpler. > > Signed-off-by: Chuhong Yuan Applied.