Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp8985133ybi; Tue, 23 Jul 2019 19:29:25 -0700 (PDT) X-Google-Smtp-Source: APXvYqyb8W4gqbgUQXGzR78qGQxOJvPIr1h+GTY7Y5TkoA2VDVaM+LiOIijssFV6kHVxcYhcEUAZ X-Received: by 2002:a17:902:b70c:: with SMTP id d12mr80326916pls.314.1563935365458; Tue, 23 Jul 2019 19:29:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1563935365; cv=none; d=google.com; s=arc-20160816; b=bamsnS8Xv6IPqIfcbaYbSxae9YUGjKj8HRJrPtauzsuY8fQJI+MW1QYJKSxLfLC3I2 2opf9geGErWnnTdUSwbLWiD/z1Yyn1kaE8+XGtS1PN5OK0q5h1QmFXyqydipc9jLVALZ uCkYmbexs3Y+IiYcwaxAIf+taQbzdwfwBwm15ICy7bhz8dKi4Ublk94MA+5N7jZTpiuE tkEQrRfvB8N1vx7QM/sXEi2HjxU6v6QB24GpjYl45+thm3gk7LzTgJ+G9iyAhu+/CX9h sNgXppUDukH/Iv/1IQUAlwzbzTELDToAxrJ6aKnwOjO0Oc5sDT5ZMkP41fuyFIub6GqZ f7+Q== 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=oZ31Uqf6PqU/XdF/KhaFN7DpVNZ7Ork4nJctePCUIP8=; b=KmcXfjQBm2X2/0N+GNFTA1/iXKCWPFb281VM3RpzwKR6npxpiQCpvCPhvLmgpHXNrF KfqMDKeCyi/+ejh63SMKiuU/jaIPfRC/UWyIzAv6LZTOaxeiLYXOfFZ+QfM+AR/EcuKh mvbyiOa81Hhqo3X1dCdGS76XAkKhEjIQvvpCT9WWDbz/UEmQoneXTjbsEC+R73DcvKGY EckttNUBWHJYnH576Pk2JEU2E82kItzVL0WGXOrAWe4BLplpxFZ7UQ6I/jkZt2PzR66n ITj/U8PR6V8c6l1dHQRMIhMVLqtAXKnR9qN1eJETkvTU36uvZKtsXGBVCqPkqOMizQCt Q06w== 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 v136si13459498pfc.9.2019.07.23.19.29.09; Tue, 23 Jul 2019 19:29:25 -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 S1731490AbfGWUFM (ORCPT + 99 others); Tue, 23 Jul 2019 16:05:12 -0400 Received: from shards.monkeyblade.net ([23.128.96.9]:35968 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727055AbfGWUFL (ORCPT ); Tue, 23 Jul 2019 16:05:11 -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 46B59153BAE99; Tue, 23 Jul 2019 13:05:11 -0700 (PDT) Date: Tue, 23 Jul 2019 13:05:10 -0700 (PDT) Message-Id: <20190723.130510.1914552116610187765.davem@davemloft.net> To: hslester96@gmail.com Cc: linux-ide@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] ide: Use dev_get_drvdata where possible From: David Miller In-Reply-To: <20190723114952.18483-1-hslester96@gmail.com> References: <20190723114952.18483-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:05:11 -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 19:49:52 +0800 > Instead of using to_pci_dev + pci_get_drvdata, > use dev_get_drvdata to make code simpler. > > Signed-off-by: Chuhong Yuan Applied.