Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp1967600rwr; Fri, 28 Apr 2023 04:31:22 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4DtCCk6HOVP6Yq6XpmTcCVXnieW3GTWtuNSm1SmM41aBI0OhuUpy6SbryUWaALNVWrcYSU X-Received: by 2002:a17:902:e742:b0:1a6:5fdf:6555 with SMTP id p2-20020a170902e74200b001a65fdf6555mr5353730plf.50.1682681482016; Fri, 28 Apr 2023 04:31:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1682681482; cv=none; d=google.com; s=arc-20160816; b=mvNzO+7uG11qCzop4v9rnbb0JPMMxMdGJYnTv5LmFhc/8sMTsHKdxVsRE0jvSQPOHF uhOdcHy8dvLyyDd100lvPXnyZRegGEfv/IdVkm2YUgRGrfWjSZMCSQ+R2Tyo6yHYj7mC mYnYbKRj1USiHbzMnoTnZI3FusY3+VuUaSjPP2eeV1LT8t/2DLRmBVj1TDoW/mEPLsYC WDF08GHRjQf+HR1NKD6acPzim7F1J2b7fyP7fKO4uzC77kAMWyVkYPVcz8yPtYzCSMSL GWzV8rQap5OuCcKcUdQJn5ysxKM8tLxRPAoCRUIzu8gvBr0qFrNi49ONsVhN7BC1lAZh /V9A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent :content-transfer-encoding:references:in-reply-to:date:cc:to:from :subject:message-id:dkim-signature; bh=NwxRsu8ht1atvOJT+L90HFqBBiIpbm8MFFmBYW6Zgcg=; b=gxmrh2DwXkofy1iEONez1cOHFUUHlH3yyvgZmx1l//V1P9PYj9wIvdyrZVeIrmjsYd P2+rMprkdnpBHZokJn1ZkJtSvTcjSlz0s7rGYLz/MvJk7Olj9a74Ry/RKe4lnjogqu8C cYKqrAoSrOSwTY9yv/6mcSvkJfFpJskDqO8I/YZH8cWrAECKQw06i9F/mdI3fl9f3d7e iqvr4qqsBDwEsBj9Kri3bA7xCk3KCnoDFJ2CMJA38IiFdSD3wl+2bTIzZrr73+haZ4bL sFv4gEiWaDF2DvAbJqxrhex3sfxUps99U9qZQgtcPA9rdstZiTWksFQs/wenpyXDVVBm opCQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@maquefel.me header.s=mail header.b=FNHvO6bW; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h18-20020a170902f71200b001a51e159297si21223940plo.368.2023.04.28.04.31.10; Fri, 28 Apr 2023 04:31:21 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@maquefel.me header.s=mail header.b=FNHvO6bW; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345812AbjD1LbH (ORCPT + 99 others); Fri, 28 Apr 2023 07:31:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58726 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345833AbjD1LbF (ORCPT ); Fri, 28 Apr 2023 07:31:05 -0400 Received: from forward500c.mail.yandex.net (forward500c.mail.yandex.net [IPv6:2a02:6b8:c03:500:1:45:d181:d500]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6E32555A3 for ; Fri, 28 Apr 2023 04:31:03 -0700 (PDT) Received: from mail-nwsmtp-smtp-production-main-85.iva.yp-c.yandex.net (mail-nwsmtp-smtp-production-main-85.iva.yp-c.yandex.net [IPv6:2a02:6b8:c0c:b14:0:640:93f9:0]) by forward500c.mail.yandex.net (Yandex) with ESMTP id 1FC2D5E7B0; Fri, 28 Apr 2023 14:31:01 +0300 (MSK) Received: by mail-nwsmtp-smtp-production-main-85.iva.yp-c.yandex.net (smtp/Yandex) with ESMTPSA id xUHfdw0DZ8c0-MMVwmCQb; Fri, 28 Apr 2023 14:31:00 +0300 X-Yandex-Fwd: 1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=maquefel.me; s=mail; t=1682681460; bh=NwxRsu8ht1atvOJT+L90HFqBBiIpbm8MFFmBYW6Zgcg=; h=References:Date:In-Reply-To:Cc:To:From:Subject:Message-ID; b=FNHvO6bWnBk2y/dQjZHyQBjMkk+QLTdaJbEjCUYIs+penWxplDFFFO+dB4tCQ/fMo jflzbouhJVv943orvd+aW26rts+UcxB08FeMf6IWBccjPGi5drQF9nfeaCxYJQUmQf PBVDDgNLnEzcNYdu9WyzcTAlgqQvROmLS3cS/MIs= Authentication-Results: mail-nwsmtp-smtp-production-main-85.iva.yp-c.yandex.net; dkim=pass header.i=@maquefel.me Message-ID: Subject: Re: [PATCH 29/43] rtc: m48t86: add DT support for m48t86 From: Nikita Shubin To: andy.shevchenko@gmail.com Cc: Arnd Bergmann , Linus Walleij , Alexander Sverdlin , Alessandro Zummo , Alexandre Belloni , linux-rtc@vger.kernel.org, linux-kernel@vger.kernel.org Date: Fri, 28 Apr 2023 17:31:01 +0300 In-Reply-To: References: <20230424123522.18302-1-nikita.shubin@maquefel.me> <20230424123522.18302-30-nikita.shubin@maquefel.me> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.46.3 MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 2023-04-26 at 16:36 +0300, andy.shevchenko@gmail.com wrote: > Mon, Apr 24, 2023 at 03:34:45PM +0300, Nikita Shubin kirjoitti: > > - get regs from device tree >=20 > ... >=20 > > +#include >=20 > mod_devicetable.h and drop ugly ifdeffery along with of_match_ptr(). >=20 > ... >=20 > > +static const struct of_device_id m48t86_rtc_of_ids[] =3D { > > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0{ .compatible =3D "dallas,rt= c-m48t86" }, > > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0{ /* end of table */ }, >=20 > No comma for the terminator entry >=20 > > +}; >=20 Thanks you for all your comments and effort! All will be fixed conforming your comments.