Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp3025731ybc; Thu, 21 Nov 2019 02:07:40 -0800 (PST) X-Google-Smtp-Source: APXvYqzSoavbgHoW61pks4VR5ee4uedAEimTJ2pTBOht6p9pcweAiGXiVWnxfEJCYuvSNFqe0brH X-Received: by 2002:a17:906:6dc2:: with SMTP id j2mr12621092ejt.140.1574330859990; Thu, 21 Nov 2019 02:07:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1574330859; cv=none; d=google.com; s=arc-20160816; b=w8Qb7eS33NTthdazUTbdfRSNEDvw5w+f4P+AxymZ/j1Q4Ye6dSB6kXFN9KMm+tf5L8 B//ZYCV2pLRK70N5HpUoBN0V/XhnOV4pR9grsiHDtXanuTu3UxwmvQ5JpM0ggPcLg7Yq jMBIbiqwjRo8PU1+GUvd3uadH7BVx5x1lbbuw8F2xUllW4XvevpTvYtjgp9LbcxMbVYL 4quPqUAWvXQ5py0km36637UwZoLUWq4Do/CkFAyyU8OVYObjBD3v95r7mLbqk+GCMebx fL4zL6OxBKfm6pDDBIMcoI9767lKWnx9DNFi0o3Yfx2yEFuvFF1SqA5VovEBduLyszgg 4XxA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=Lgma8jzhOtPMjhXwAH4PL/ZYBt9BXmnyJYeEd0pN4x0=; b=Qam9AfXc+dVgyyGA6x7tSBdByre5A2B7XO3DR1SgVDIZKWysTXcKRm/aSQm2PrGDjD ZRDNtjWxlmCqYnwCnzqEuMekdBCyUXH2r9HRUG28LHfnpAmCrqzPCjStKgBr/+2TJu1p iNuZfy6MZDyxoBcXp2yl/flzB45GEj4+B9XEiTN6Ajmw6g8nOB729AhNFC0U2GAPK/Ph R/T+343FMgIks01WAltKXHqMeokbIfIUmmjTeuFaTrYxukr5m7lQMBpUm+P+g5bzaeaB sRKmNiCa2AXpX3ztL9h6pbPNe64BQtfsqvCx2Lfjqlb2FE+CO8ih5PjuFgqVLoGbQtkv uMEg== 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 g17si1631712edq.176.2019.11.21.02.07.15; Thu, 21 Nov 2019 02:07:39 -0800 (PST) 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 S1726875AbfKUKDY (ORCPT + 99 others); Thu, 21 Nov 2019 05:03:24 -0500 Received: from isilmar-4.linta.de ([136.243.71.142]:34066 "EHLO isilmar-4.linta.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726343AbfKUKDY (ORCPT ); Thu, 21 Nov 2019 05:03:24 -0500 X-isilmar-external: YES X-isilmar-external: YES Received: from light.dominikbrodowski.net (brodo.linta [10.1.0.102]) by isilmar-4.linta.de (Postfix) with ESMTPSA id 49529200A6D; Thu, 21 Nov 2019 10:03:23 +0000 (UTC) Received: by light.dominikbrodowski.net (Postfix, from userid 1000) id CE53D200D3; Thu, 21 Nov 2019 11:03:06 +0100 (CET) Date: Thu, 21 Nov 2019 11:03:06 +0100 From: Dominik Brodowski To: Chuhong Yuan Cc: linux-kernel@vger.kernel.org Subject: Re: [PATCH] pcmcia: Use dev_get_drvdata where possible Message-ID: <20191121100306.GC129595@light.dominikbrodowski.net> References: <20190724122308.21747-1-hslester96@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190724122308.21747-1-hslester96@gmail.com> User-Agent: Mutt/1.12.2 (2019-09-21) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jul 24, 2019 at 08:23:08PM +0800, Chuhong Yuan wrote: > Instead of using to_pci_dev + pci_get_drvdata, > use dev_get_drvdata to make code simpler. Applied to the pcmcia tree. Thanks, Dominik