Received: by 10.192.165.148 with SMTP id m20csp2256706imm; Thu, 3 May 2018 13:09:47 -0700 (PDT) X-Google-Smtp-Source: AB8JxZpAjexqLVgvfl69Z17Gyr6RxFRe6eBqsXw1GYIUssOutP5G2Mxd6rEEIpAFFpAtifSRAHwN X-Received: by 2002:a17:902:8c83:: with SMTP id t3-v6mr21401034plo.357.1525378186883; Thu, 03 May 2018 13:09:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525378186; cv=none; d=google.com; s=arc-20160816; b=U51UNmEF5JJ1qhZtRXkPPucn8mLYsVgzYBMwSW6h6/fSGgih2F1RkYsId3fu/4ki55 F6k2bAK+i3XzAhZLavXbN9pxQu57yKqYRPR79rWKtfwMKFhQ5SQuvTwYO2QHBxW67iti LWATdgrmDOjepoIcESOZyf+vUzxTr5eKTyaeGb/PtJZwZXzIiYF0mru7usVQUhGka1J3 dDgQr24mTihqxXGGywtN7pymasiwUuVBNeG+K3i5Qa/Gl3Ng0NR4MNaPs4BwbOXuwrO0 XQqeT1gU7FrYNZjpstQIEtlB2fzBo2nvb9TuJMB8qg2klX/B2HH8QrywEXLJ6xzTtsh6 Hx8w== 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=PuW7ORVYN4JwiI9v7BIOtkgBa/jPXZb0UVDE7lD8zQY=; b=hgX25uaFrT7ZDQQxHJcTINgukbWbofHkI1m2kLVAjLxsXQJWBWcYi5v3WfgANmsljd pYjtFGMcDSYXOr4PHXgQ9nOGdv2r2Mw0MIGapSd1zY8ppc+FOKnwaZc7H6qyYsYR3a/i bvX3N+TqfoRLX3qNCYw63/9oM5PCTR0l3CBS1mN4DJDz/i1IbGAfBGrzX0+Vl98M7tUk iZi4AIwzHvj4FcQnmHK19xxpAOjwaeOJQvY5ISV3Syw2dfHa9wWXFQ95JoVWDp0MfYdC VB847jWEkHS9gkGDfgiyy0QYuQLSgFF2BtmqgNwNTADFh4NSpDXzDn7LATAHXj1QC9Cn cUEg== 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 g13-v6si11711781pgq.670.2018.05.03.13.09.30; Thu, 03 May 2018 13:09:46 -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 S1751216AbeECUJV (ORCPT + 99 others); Thu, 3 May 2018 16:09:21 -0400 Received: from mail.bootlin.com ([62.4.15.54]:38255 "EHLO mail.bootlin.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750962AbeECUJU (ORCPT ); Thu, 3 May 2018 16:09:20 -0400 Received: by mail.bootlin.com (Postfix, from userid 110) id 7D92B20737; Thu, 3 May 2018 22:09:17 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mail.bootlin.com X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED,SHORTCIRCUIT, URIBL_BLOCKED shortcircuit=ham autolearn=disabled version=3.4.0 Received: from localhost (unknown [88.191.26.124]) by mail.bootlin.com (Postfix) with ESMTPSA id 4C93F20733; Thu, 3 May 2018 22:09:07 +0200 (CEST) Date: Thu, 3 May 2018 22:09:08 +0200 From: Alexandre Belloni To: Wolfram Sang Cc: linux-kernel@vger.kernel.org, linux-renesas-soc@vger.kernel.org, kernel-janitors@vger.kernel.org, Alessandro Zummo , Joshua Kinard , Vladimir Zapolskiy , Sylvain Lemieux , Michal Simek , linux-rtc@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH 44/61] rtc: simplify getting .drvdata Message-ID: <20180503200908.GA10960@piout.net> References: <20180419140641.27926-1-wsa+renesas@sang-engineering.com> <20180419140641.27926-45-wsa+renesas@sang-engineering.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180419140641.27926-45-wsa+renesas@sang-engineering.com> User-Agent: Mutt/1.9.5 (2018-04-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 19/04/2018 16:06:14+0200, Wolfram Sang wrote: > We should get drvdata from struct device directly. Going via > platform_device is an unneeded step back and forth. > > Signed-off-by: Wolfram Sang > --- > > Build tested only. buildbot is happy. Please apply individually. > > drivers/rtc/rtc-bq4802.c | 6 ++---- > drivers/rtc/rtc-ds1216.c | 6 ++---- > drivers/rtc/rtc-ds1511.c | 9 +++------ > drivers/rtc/rtc-ds1553.c | 15 +++++---------- > drivers/rtc/rtc-ds1685.c | 21 +++++++-------------- > drivers/rtc/rtc-ds1742.c | 6 ++---- > drivers/rtc/rtc-lpc32xx.c | 16 ++++++---------- > drivers/rtc/rtc-m48t59.c | 41 ++++++++++++++++------------------------- > drivers/rtc/rtc-mv.c | 3 +-- > drivers/rtc/rtc-mxc.c | 21 +++++++-------------- > drivers/rtc/rtc-pcap.c | 15 +++++---------- > drivers/rtc/rtc-sh.c | 15 +++++---------- > drivers/rtc/rtc-stk17ta8.c | 15 +++++---------- > drivers/rtc/rtc-test.c | 3 +-- > drivers/rtc/rtc-zynqmp.c | 10 ++++------ > 15 files changed, 71 insertions(+), 131 deletions(-) > Applied, thanks. -- Alexandre Belloni, Bootlin (formerly Free Electrons) Embedded Linux and Kernel engineering https://bootlin.com