Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp1036915pxk; Thu, 10 Sep 2020 05:36:27 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxWPKlE0ob/srYnH4PslHb3hoaHmw0juvGGktamjuX7Obemim+ayPq1eK3Huul3ZPdWKrGU X-Received: by 2002:aa7:d417:: with SMTP id z23mr8715900edq.62.1599741386854; Thu, 10 Sep 2020 05:36:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1599741386; cv=none; d=google.com; s=arc-20160816; b=Znnfw7WgNfNSucrw66gL66RFS98G2I1c9FloRfYlaFolWzS18RIUIWtH814JPn49+y ekK0jR0bFsW8XfYmbwj2pW1xVAtwl71rU8cc9bl/vPTOW0P5HV8l4jIxx/FYz3MfFxjb Zhr/UPqGdHnVmcd1Zc/zfCoAID9atoncF+29+t4/mVD89mQfmbRBZCSSoQnXTDMadmGH KzU7Y8/F2/aIQG0av39q17WejERqMG5B3lPYmSBbtAEdMDlEu9/lP9m5nwy8KjVZxb/j VaedL0QQ0ZbHICHdH2GcDuxIvJ6qxlIX8Yd07lo3eOjCRakhLxF2jAWs4R2LUM4G+kSR 9VNQ== 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=T6UfWrc1DpHIw9bhArRsF1txSJyJirGMWrGuYQQKHAU=; b=vIzOrHga5jsQYUm0PbP1bnCD6eYHB1og9uQ90c9wKh3jKqPCcJwfGiToyu6jZoqCD8 o4pXPrwJZwHorwygUle3iFik8vjhN8J377bhWN50b8Ftniq53TRnbbNH1Z9Z8CpX8B6r A7BgTPRMH6ThTu6anMRS2Hkl8KP10QSNYw4EgrnhOQfYBNn8rn1fDtV3Yqwntsl2PDx6 uExYnThKETT8ULvs0ZRjQJ0/fvHJikTo0cwW9FPrDFm5S2jiZ79h4nlEU8hMaIg0y2NC ZZSaJjaAOPLospTEdEfkXGbockuchjJPAiAwQLCUJLYo8b8+Nw259P5/LnzumBDbg1bq 4NVQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id jr1si3591816ejb.164.2020.09.10.05.36.03; Thu, 10 Sep 2020 05:36:26 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730067AbgIJMb7 (ORCPT + 99 others); Thu, 10 Sep 2020 08:31:59 -0400 Received: from jabberwock.ucw.cz ([46.255.230.98]:42502 "EHLO jabberwock.ucw.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730722AbgIJM2n (ORCPT ); Thu, 10 Sep 2020 08:28:43 -0400 Received: by jabberwock.ucw.cz (Postfix, from userid 1017) id 16CDC1C0B9D; Thu, 10 Sep 2020 14:28:35 +0200 (CEST) Date: Thu, 10 Sep 2020 14:28:34 +0200 From: Pavel Machek To: Andy Shevchenko Cc: Gene Chen , Jacek Anaszewski , Rob Herring , Matthias Brugger , Dan Murphy , Linux LED Subsystem , devicetree , linux-arm Mailing List , "moderated list:ARM/Mediatek SoC support" , Linux Kernel Mailing List , Gene Chen , Wilma.Wu@mediatek.com, shufan_lee@richtek.com, cy_huang@richtek.com, benjamin.chao@mediatek.com Subject: Re: [PATCH v3 1/2] leds: mt6360: Add LED driver for MT6360 Message-ID: <20200910122834.GE7907@duo.ucw.cz> References: <1599474459-20853-1-git-send-email-gene.chen.richtek@gmail.com> <1599474459-20853-2-git-send-email-gene.chen.richtek@gmail.com> <20200910081814.GB28357@amd> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="YkJPYEFdoxh/AXLE" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --YkJPYEFdoxh/AXLE Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu 2020-09-10 14:34:54, Andy Shevchenko wrote: > On Thu, Sep 10, 2020 at 11:18 AM Pavel Machek wrote: >=20 > ... >=20 > > > > > +enum { > > > > > + MT6360_LED_ISNK1 =3D 0, > > > > > + MT6360_LED_ISNK2, > > > > > + MT6360_LED_ISNK3, > > > > > + MT6360_LED_ISNK4, > > > > > + MT6360_LED_FLASH1, > > > > > + MT6360_LED_FLASH2, > > > > > > > > > + MT6360_MAX_LEDS, > > > > > > > > No comma for terminator entry. > > > > > > > > > > ACK > > > > Actually, that comma is fine. Its absence would be fine, too. >=20 > It is slightly better not to have to prevent (theoretical) rebase or > other similar issues when a new item can go behind the terminator. In > such a case compiler can easily tell you if something is wrong. Okay, I see your point. Pavel --=20 (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blo= g.html --YkJPYEFdoxh/AXLE Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iF0EABECAB0WIQRPfPO7r0eAhk010v0w5/Bqldv68gUCX1ob8gAKCRAw5/Bqldv6 8lViAJ9myb0j5o09GhH3AOC/vEPu/eVHrQCfURBxqy5ugClklDvSpz1f/ewdO60= =pYh1 -----END PGP SIGNATURE----- --YkJPYEFdoxh/AXLE--