From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.5 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_PASS,URIBL_BLOCKED,USER_AGENT_MUTT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 48CE6C4321A for ; Fri, 26 Apr 2019 18:52:31 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 2A7872064A for ; Fri, 26 Apr 2019 18:52:31 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726462AbfDZSwa (ORCPT ); Fri, 26 Apr 2019 14:52:30 -0400 Received: from relay6-d.mail.gandi.net ([217.70.183.198]:37059 "EHLO relay6-d.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726049AbfDZSw3 (ORCPT ); Fri, 26 Apr 2019 14:52:29 -0400 X-Originating-IP: 90.66.53.80 Received: from localhost (lfbn-1-3034-80.w90-66.abo.wanadoo.fr [90.66.53.80]) (Authenticated sender: alexandre.belloni@bootlin.com) by relay6-d.mail.gandi.net (Postfix) with ESMTPSA id 7A3C0C0009; Fri, 26 Apr 2019 18:52:26 +0000 (UTC) Date: Fri, 26 Apr 2019 20:52:25 +0200 From: Alexandre Belloni To: Kefeng Wang Cc: linux-kernel@vger.kernel.org, Masahiro Yamada , Alessandro Zummo , linux-rtc@vger.kernel.org Subject: Re: [PATCH next 21/25] rtc: Use dev_get_drvdata() Message-ID: <20190426185225.GU14604@piout.net> References: <20190423075020.173734-1-wangkefeng.wang@huawei.com> <20190423075020.173734-22-wangkefeng.wang@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190423075020.173734-22-wangkefeng.wang@huawei.com> User-Agent: Mutt/1.11.3 (2019-02-01) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 23/04/2019 15:50:16+0800, Kefeng Wang wrote: > Using dev_get_drvdata directly. > > Cc: Alessandro Zummo > Cc: Alexandre Belloni > Cc: linux-rtc@vger.kernel.org > Signed-off-by: Kefeng Wang > --- > drivers/rtc/rtc-hid-sensor-time.c | 3 +-- > drivers/rtc/rtc-pxa.c | 3 +-- > drivers/rtc/rtc-rk808.c | 6 ++---- > drivers/rtc/rtc-tx4939.c | 17 ++++++----------- > drivers/rtc/rtc-wm831x.c | 18 +++++++----------- > drivers/rtc/rtc-wm8350.c | 12 ++++-------- > 6 files changed, 21 insertions(+), 38 deletions(-) > Applied, thanks. -- Alexandre Belloni, Bootlin Embedded Linux and Kernel engineering https://bootlin.com