Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp908929pxk; Thu, 10 Sep 2020 01:38:07 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxHWR9Ojj9pc9AUCfjnLRCNjo58gkEh78rPsB5zA45zgzQVn2GKXZCumIuw8XZ0CddyzFOR X-Received: by 2002:a17:906:95d1:: with SMTP id n17mr7973142ejy.324.1599727087098; Thu, 10 Sep 2020 01:38:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1599727087; cv=none; d=google.com; s=arc-20160816; b=i5VDDJWqquoOj9YkcI1skfzq0B3IsAsLp0CCWhXFA+B1+67QtOKaWvjZHGM1WUF8Yv Fvfwg2mCQpDgPdPXp7IHJKNQXf3j59gYnl1WlbfNPo+y2x+DFrVml6QfDZlIiHjfICoa c1iwDhu/wruaK4KFrv3mpS+y8T0OmxHTQ5WibGFXCFbjlzuZtlAS9A8kgFEykQZrzDjj t+jJa2z7yb8J8pe11069f0xoo1Tp5j01Yh3IOdR+w1QMJslcDDxjMMpazNnrGqlGLf7S sF9QHVoZS16iUloAL3vdXh4STnhWa7wbYwTi1HD4/j0ZR9YU23TowCnyBxQG8svxt6hb eVPA== 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=hph0EMA0oxHWpuKXacHeSjTgttGJfVNkbevpCtAobVI=; b=kWyKCRV2M+Hr/c4eTGn+AM+Y0rtq5xPjskXoV2CSUhi/tmKY8ocHu08VmFQgOT6ALK nA3VEoWX99xScW70RAgMDCOigzvZjDKJHSYnaarx8hrJQhlrHLZ1Hgjmjsgwp/sYOds3 A3kZJFvbp9U9m41hjDpoKJekTzzF8JKrH33AerfGPME+GaVmPXA5IGyb02qxDZ5sNnAl IvFAR/iSfGXZnqzAAukNhtTF4bWHPPd7g/i0vl7jfhJP40DTHmWdOUGBWnDigFv4geo0 uHgPLH1wBHWSUaEUdxeZ3xuQNq2LTjfXAvWm9Xd+IWPr8MQfXGZea2BgKB7C3BYIkkEX rwag== 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 e18si3159493edv.524.2020.09.10.01.37.44; Thu, 10 Sep 2020 01:38:07 -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 S1730462AbgIJIed (ORCPT + 99 others); Thu, 10 Sep 2020 04:34:33 -0400 Received: from jabberwock.ucw.cz ([46.255.230.98]:42240 "EHLO jabberwock.ucw.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730165AbgIJISd (ORCPT ); Thu, 10 Sep 2020 04:18:33 -0400 Received: by jabberwock.ucw.cz (Postfix, from userid 1017) id DEEBE1C0B7D; Thu, 10 Sep 2020 10:18:14 +0200 (CEST) Date: Thu, 10 Sep 2020 10:18:14 +0200 From: Pavel Machek To: Gene Chen Cc: Andy Shevchenko , 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: <20200910081814.GB28357@amd> References: <1599474459-20853-1-git-send-email-gene.chen.richtek@gmail.com> <1599474459-20853-2-git-send-email-gene.chen.richtek@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="oLBj+sq0vYjzfsbl" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --oLBj+sq0vYjzfsbl Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi! > > > +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. > > >=20 > ACK Actually, that comma is fine. Its absence would be fine, too. > > > +}; > > > > ... > > > > > +#define MT6360_ISNK_MASK 0x1F > > > > GENMASK() Again, that is fine. > > > +#define FLED_TORCH_FLAG_MASK 0x0c > > > > > +#define FLED_STROBE_FLAG_MASK 0x03 > > > > GENMASK() > > >=20 > ACK Again, that is fine. > > > + return 0; > > > +} > > > + > > > +static const struct of_device_id __maybe_unused mt6360_led_of_id[] = =3D { > > > + { .compatible =3D "mediatek,mt6360-led", }, > > > > > + {}, > > > > No need comma. >=20 > ACK It is also no hurting comma. Best regards, Pavel --=20 (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blo= g.html --oLBj+sq0vYjzfsbl Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEARECAAYFAl9Z4UUACgkQMOfwapXb+vI8xwCffPv2VNdsHIiN1JW/R8U9rVgS wgIAn1rrY28DLYQIe3/AWsXVIEaFjfEB =itTo -----END PGP SIGNATURE----- --oLBj+sq0vYjzfsbl--