Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp3318621imm; Fri, 20 Jul 2018 14:22:38 -0700 (PDT) X-Google-Smtp-Source: AAOMgpfUL08xG0JVF5LKPanWUtygKmABBwfhc78BtSh22dyLlk/D28nGUDZCXxKidfG8/lGBxK+M X-Received: by 2002:a62:2744:: with SMTP id n65-v6mr3700671pfn.125.1532121758183; Fri, 20 Jul 2018 14:22:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1532121758; cv=none; d=google.com; s=arc-20160816; b=RdbLcctDAneWJfp6TbzO0OdhdnI5aVWdVNtHXsLccV8jF52HRGl5s5+5SgGR4KdW2t FmfbytpzrtzL78MbVpi4L8W2hjrP+hKUdFalyjWdSJYvIX+NyeOycApaN7bcHGi5OkoA XoQ1AZFvfVX9zNo6cIh4NDCeA8JngVOtMaiVbgCbJ+NB+XG+j5cktNFo/5jrrIO3TKuz V1/XZCYU2DINeMgmJRIaV8HA8ATvtHKA4Hsb0pLxXzSmB+1XfECxJBDr793/mmMMOQzw 2hrCksKeSNKbqUaqjfqvWVMEGnfK6zJQBm/ZG/OUSYeLtbAfxzm840uk9sdondphDKJF Hbcg== 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=XSZ8/qwugvYNikOQkAnoWb0k2sHeGUdECZNe2fFLbzE=; b=YkkYB4taH7b4YLrsXUEGUx+QpnJrKuypA30H/wVApXYwABkgy3C7Snzje07rDtGQI1 dLpI5I8Lq94xQFGAq0DMMbepgrY7WEeml7yZHkhY7s27P82Beo393yGGk4om7PoVTdq8 2Tac5sGP0EFwTCj0Qz4UCbJdOBfjTID6DImhLAxJmaU/dgzhJAY0ITfn7MFE5zPze+oR jQz1npxo9xPiRW81pHYCxNh0G4KUBgsxwwDJHs5cpUN4NrfQu/B/3FRqMHJLPGYXf/MH yd40hLW/I5hDWOxd/UImRSQ/Nsa9dGqKJnRlS4JGMueTEXjtIuVhwHf04g7UzKLmQ9Fb 02OA== 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 x15-v6si2305113pln.270.2018.07.20.14.22.23; Fri, 20 Jul 2018 14:22:38 -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 S1728857AbeGTWLn (ORCPT + 99 others); Fri, 20 Jul 2018 18:11:43 -0400 Received: from atrey.karlin.mff.cuni.cz ([195.113.26.193]:35944 "EHLO atrey.karlin.mff.cuni.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728167AbeGTWLn (ORCPT ); Fri, 20 Jul 2018 18:11:43 -0400 Received: by atrey.karlin.mff.cuni.cz (Postfix, from userid 512) id C2736804DE; Fri, 20 Jul 2018 23:21:37 +0200 (CEST) Date: Fri, 20 Jul 2018 23:21:29 +0200 From: Pavel Machek To: Daniel Thompson Cc: Kiran Gunda , bjorn.andersson@linaro.org, jingoohan1@gmail.com, lee.jones@linaro.org, b.zolnierkie@samsung.com, dri-devel@lists.freedesktop.org, jacek.anaszewski@gmail.com, robh+dt@kernel.org, mark.rutland@arm.com, linux-leds@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-fbdev@vger.kernel.org, linux-arm-msm@vger.kernel.org Subject: Re: [PATCH V4 6/8] backlight: qcom-wled: Add support for WLED4 peripheral Message-ID: <20180720212128.GA13883@amd> References: <1531131741-19971-1-git-send-email-kgunda@codeaurora.org> <1531131741-19971-7-git-send-email-kgunda@codeaurora.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="EeQfGwPcQSOJBaQU" 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 --EeQfGwPcQSOJBaQU Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi! > >@@ -332,6 +529,7 @@ static u32 wled_values(const struct wled_var_cfg *cf= g, u32 idx) > > } > > #define WLED3 3 > >+#define WLED4 4 >=20 > Are these macros always going to define 3 to be 3 and 4 to be 4. If so we > probably don't need them (and they should be removed from patch 5/8 too). >=20 > There is a degree of nitpicking here however. The rest looks OK to me. Really nitpicking, and I don't care much either way, but as natural numbering would be 0-based, I'd keep the defines. Pavel --=20 (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blo= g.html --EeQfGwPcQSOJBaQU Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEARECAAYFAltSUlgACgkQMOfwapXb+vKc9wCgl+DW32Mu1D+P2T/k85doKKNP auoAn2rci/ZciPj1uUoVBrhTrw4JuCcw =H4GY -----END PGP SIGNATURE----- --EeQfGwPcQSOJBaQU--