Received: by 10.192.165.148 with SMTP id m20csp2538939imm; Sun, 22 Apr 2018 09:07:51 -0700 (PDT) X-Google-Smtp-Source: AIpwx49XvDHYz9q3fGnJD2mvHQ+attHwIuqNekNz3lpfZz/eyUqKTP0v5bgkwhneQTb+OcK4jAPF X-Received: by 2002:a17:902:6709:: with SMTP id f9-v6mr17571656plk.159.1524413271279; Sun, 22 Apr 2018 09:07:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524413271; cv=none; d=google.com; s=arc-20160816; b=F40M6bUPalkBtlZ/ic+mZg6uXGXcrTbtqAgiVZZR6bLWf0qPnXybkS4EjRpLf1G3aD Q5pwxDoNdEFs4RxJ64WCkDpxnYduFraderY58Tt0IvlA+vhlb8uRwojLCOjGfss9t+M4 FkP1gTFtVzSh23LMAbPqgyXWaXmCVYOxI/g1WecqVTEHUDpSIHR2zfpUVOfxBulzV/DA OFjpkXTSV4aatujqbmTsxi5I4GjCXUzm9K/nzIBRN5k7gA+v3UFdfR/tVgi1E7de2p0d HQRrlbk3QcviDFgrYkI4E/GESz5J+tRS0K7QBXG7x2JQ1XmfqBAdzZvwpUJy3V1XGoUM 2vCg== 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:arc-authentication-results; bh=XQPFCZMCVVKhde6I6wYVkIgnPnXgXbukiAWdP+5m1zg=; b=0zrwdYWeuiFv9V8d05l0KbV+R9wrUP1rfO+zYfAl62VpvXRUgHkWCa6Brp+NDIFxk4 dN08HmasbvUCLfpwIWoVWgLDfV5jbYv3URGwfFYeC3AD5dd3I2VXTtXyYyfdIIsg5W1q kMeeI6HXhR3vs3VlO6DgUAirmFU96cqNzk9BUu3V+fjeWYQBcvyU7BIxTDTlZnc4rKXe LKssN+104eNT5x0z0bnFgr1Hystw2TlfnpsG172bX7zmGAj3nxSdr+uAsrJr55sCSd57 n2p9dJzla54jsRyRtB1ed3YVDsRUhQQElajsRgWw6XIW0ro0m7t0gkJdfAczO/AZGT15 QpBg== 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 b186si8383299pgc.569.2018.04.22.09.07.37; Sun, 22 Apr 2018 09:07:51 -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 S1754041AbeDVQGk (ORCPT + 99 others); Sun, 22 Apr 2018 12:06:40 -0400 Received: from mga18.intel.com ([134.134.136.126]:44756 "EHLO mga18.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754054AbeDVQGf (ORCPT ); Sun, 22 Apr 2018 12:06:35 -0400 X-Amp-Result: UNSCANNABLE X-Amp-File-Uploaded: False Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by orsmga106.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 22 Apr 2018 09:06:34 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.49,313,1520924400"; d="scan'208";a="222407196" Received: from vkoul-udesk7.iind.intel.com (HELO localhost) ([10.223.84.143]) by fmsmga005.fm.intel.com with ESMTP; 22 Apr 2018 09:06:32 -0700 Date: Sun, 22 Apr 2018 21:41:11 +0530 From: Vinod Koul To: Wolfram Sang Cc: dmaengine@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org Subject: Re: [PATCH 0/6] tree-wide: simplify getting .drvdata Message-ID: <20180422161111.GY6014@localhost> References: <20180422091415.7587-1-wsa+renesas@sang-engineering.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180422091415.7587-1-wsa+renesas@sang-engineering.com> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Apr 22, 2018 at 11:14:08AM +0200, Wolfram Sang wrote: > I got tired of fixing this in Renesas drivers manually, so I took the big > hammer. Remove this cumbersome code pattern which got copy-pasted too much > already: > > - struct platform_device *pdev = to_platform_device(dev); > - struct ep93xx_keypad *keypad = platform_get_drvdata(pdev); > + struct ep93xx_keypad *keypad = dev_get_drvdata(dev); > > I send this out as one patch per directory per subsystem. I think they should > be applied individually. If you prefer a broken out series per subsystem, I can > provide this as well. Just mail me. Applied all, thanks -- ~Vinod