Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp5459988imm; Sun, 22 Jul 2018 23:17:27 -0700 (PDT) X-Google-Smtp-Source: AAOMgpcpH2zxlO2itg5/uS5q7H/1EkOT2YBjgds/bi6KLYfPbW3ac+vpclIcBv70qE7o0iRLA7E0 X-Received: by 2002:a62:da07:: with SMTP id c7-v6mr11890402pfh.106.1532326647577; Sun, 22 Jul 2018 23:17:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1532326647; cv=none; d=google.com; s=arc-20160816; b=ahakXONzQZXWWsm+6K/MiJJgHt2Qh92ARVKTLjPnPrNVrMo9VY2rHidZqX2iBmiuF1 6+F26oOGEEoUSG7Sxr311wS3i4bBRQSSbUEgGnSsPmBr0MguVJUbnCSwWCiYry2dZEg2 3aa56w8lbfgonNyDsMDWTVZqcFqqxwxIiarw9Np51trBzSP12EBCSol0QKcFlzKNeT6r /n+1L5GYB8OcQyibfm0edcKqpGDRXSG0U8LDG8/y8cFOOTAztmKg+yyE9scL8ozivJV0 dJJScf1DpxFB2Po4bPbm4N6HQMmp8MD7iDiOKbt8cepHjz3waPx9CraYqS6wWW5xe0O/ QRYg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:message-id:references :in-reply-to:subject:cc:to:from:date:content-transfer-encoding :mime-version:dkim-signature:dkim-signature :arc-authentication-results; bh=ZKFGBtagoBCB9PXWVxxzxBfLX12+GRp4rmuoiedVj+k=; b=OWrH4P8X6DOPQ1kObRhx4XhXIt+klHTPpD+cyLO3JRTyyeO781e1twauBO/idwL00K ID/+MRsJnNi1soDArNh8O9Y0O+2c1MnMSNpHtWIUyiQoKL10ySxWr9BybMcUj9JxqGkg YsPoGAha9ukGzkm/e2BfAfEverUyg0DsUzOKcn/YZC8fRihJhRZT254rZtTsqx3x9fzE fSwzcNupjHfAHA/w4X5xmhayqV1CWJWUDpzr1dJd3QupLlbtG7J2rU1H5DCsJ/Md4S2A Jov9fLKeTmmfC4t+WgusMEAWeBmx0e9wEGdTRy83Ajzpz93VwK07um1hFieRY3GDyCGt qmeA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@codeaurora.org header.s=default header.b="BPMb/wNT"; dkim=pass header.i=@codeaurora.org header.s=default header.b=WZ04VA9T; 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 e6-v6si1220691pfe.31.2018.07.22.23.17.12; Sun, 22 Jul 2018 23:17:27 -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; dkim=pass header.i=@codeaurora.org header.s=default header.b="BPMb/wNT"; dkim=pass header.i=@codeaurora.org header.s=default header.b=WZ04VA9T; 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 S2387866AbeGWHPz (ORCPT + 99 others); Mon, 23 Jul 2018 03:15:55 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:58688 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728230AbeGWHPz (ORCPT ); Mon, 23 Jul 2018 03:15:55 -0400 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id 58D9E6074D; Mon, 23 Jul 2018 06:16:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1532326580; bh=EqBKv756JkV/O/QWgaRNJduC+LWGjAUhwgDMCK4fsNA=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=BPMb/wNTHnpwRCVNj9j5LqKIi4UaOhlrDnuUPMVrttyRF/FOx33utSNdQuXzQrgUR fLrL9rC26xhDiPdU0Y5akh/+ZhmFG/SSO3U+iViO3MK0l0NF2IjLteyk1BpCTJvtcG HoN9coJaaG+2QHzPsFSEOPrkz7uvJRxNYA65THm4= X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on pdx-caf-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.8 required=2.0 tests=ALL_TRUSTED,BAYES_00, DKIM_SIGNED,T_DKIM_INVALID autolearn=no autolearn_force=no version=3.4.0 Received: from mail.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.codeaurora.org (Postfix) with ESMTP id 95895602D7; Mon, 23 Jul 2018 06:16:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1532326579; bh=EqBKv756JkV/O/QWgaRNJduC+LWGjAUhwgDMCK4fsNA=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=WZ04VA9TjM2u5SM20ya5SOG1KaRIPtqNa51rwfSkhu8Fp2uozK4PPU5U7ODrnQOaP pgI8+Nw+KvtNdWAx+IgfT7/DttOZDnVZSXt0Vq+YRMbje4DSPIWiHCyZAozZzhjq1q paORsCXyQzDNAKH5DTQmR8bYdqt8BGRxavQgE69E= MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Mon, 23 Jul 2018 11:46:19 +0530 From: kgunda@codeaurora.org To: Pavel Machek Cc: Daniel Thompson , 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 In-Reply-To: <20180720212128.GA13883@amd> References: <1531131741-19971-1-git-send-email-kgunda@codeaurora.org> <1531131741-19971-7-git-send-email-kgunda@codeaurora.org> <20180720212128.GA13883@amd> Message-ID: <038029fded9ee724097685a3f0e8bdf9@codeaurora.org> X-Sender: kgunda@codeaurora.org User-Agent: Roundcube Webmail/1.2.5 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2018-07-21 02:51, Pavel Machek wrote: > Hi! > >> >@@ -332,6 +529,7 @@ static u32 wled_values(const struct wled_var_cfg *cfg, u32 idx) >> > } >> > #define WLED3 3 >> >+#define WLED4 4 >> >> 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). >> >> 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 Thanks Pavale/Daniel! I will remove the macros and use the number 3 and 4 instead.