Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp325323imm; Fri, 31 Aug 2018 01:16:28 -0700 (PDT) X-Google-Smtp-Source: ANB0VdaR9sVWRRehS/Z7+RRH5GTboAoln12Ocrd6fR7OOQit1hMDfLArxDtCQOI6aqen7BrJI+gw X-Received: by 2002:a63:d10c:: with SMTP id k12-v6mr13520541pgg.49.1535703388338; Fri, 31 Aug 2018 01:16:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1535703388; cv=none; d=google.com; s=arc-20160816; b=0EUmBi83uNWsrrkVHo8hIOPkAXogCYXHH5sxkocsYG4GArGnw3QYRm2/AsxjkFPPq3 PUwlRWvt5aSCBkroHrRdSHdrWCE+tnXBx1AuB2jWLFJbY/e2W40agLw7NHc3oPZGS5Ut 6gBokzEHE4mvIL/jmPA4bl988oIaERFCWbpKgI+/T/yjuHMm/T6DfrfTsBQq70YoiDC4 rtOlrysSp4+yo3vAQX51/CHjtWSi2779oZA0iNvbNSQjkZ3YXODsq9jjBq3kvaja2xT+ RE7NhZQCKnfGl1qnWkSj6jeYOMZl+9AyqrNcGDPfMlwous7rBXGOCUXb1dBM5pM4QiVR noNg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature :arc-authentication-results; bh=fxBiUiQ6elJyWLDNpe2Ez+FoZn9ZnQnyofVOTaZqb30=; b=iFSJJeDl7L52uj2Z8Kgt6mF3cmyYWw/aAW3cMlrbrAr6QNQjCYckcnOipCblGTAaZT f5uQbv9yX7zeGS1deN/pQS8Vqu+HBnlGu+cAIfzfd12TR8lFXRJzJsAGSeUvXOafY6pd cQ+h6SP3Wq6fgcP9its28s+RIsdqX8VcUHt1CDSVnzm7ZmNwhbtWsdMH0jH5H8CB6gOK m2ozMpoArqrRejzt1GOdYRr1srvWs4OdCBpqGdKR3/E4nuCIQ1EUk2GZSeLH0ismqEGA YW3XYkz/I57kmUQ/J97CLmNsJ/NQ7xHs2mDaI3wokakTJalErsbxKTjX9hM4LD2FG4FJ 6bVQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=MDrjqwWY; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b20-v6si8515489pls.78.2018.08.31.01.16.13; Fri, 31 Aug 2018 01:16:28 -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=@linaro.org header.s=google header.b=MDrjqwWY; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727661AbeHaMUk (ORCPT + 99 others); Fri, 31 Aug 2018 08:20:40 -0400 Received: from mail-wr1-f66.google.com ([209.85.221.66]:43811 "EHLO mail-wr1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727485AbeHaMUk (ORCPT ); Fri, 31 Aug 2018 08:20:40 -0400 Received: by mail-wr1-f66.google.com with SMTP id k5-v6so10353644wre.10 for ; Fri, 31 Aug 2018 01:14:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=fxBiUiQ6elJyWLDNpe2Ez+FoZn9ZnQnyofVOTaZqb30=; b=MDrjqwWYwIeFMTzWBfKuizVfku2BVcpVVY0ieGd3u0KxwhKTD32Z+C1cpSIfoEzOmj HW09a6XEtUB5L0cgU/ZVnhFWxcA8VJooaoHy+eW0fpSeLFfUSQ99jX6hfW12KERwFHI0 t8SWUr95Gf7LMJMBu/pKVzLdPvYeOVSJJ/9N0= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=fxBiUiQ6elJyWLDNpe2Ez+FoZn9ZnQnyofVOTaZqb30=; b=aaY/qo7VQZRn8Hb/UFfgwUg6BnQdOZnJs0glDTTRj6ZX+tkuVfj7j6Kh09bVQjiN6U HmFJrJUydkLwic8U4AoFPlLrjQrCahiAZF0D3pJmEMWh8vC0Ih6U7xmLsUa5xV+IgxXK s9v2N1IscjL1JGGfjKMewM08DIcYj1GbbE/N1fPD3tXG9tsvvQmiCDiKhHfMomOdqm8y 97hz0FsoSLlTHP3/oe0PITWqUaoYrfrucjSMK/Rz1dfYmgsJiDDEgYspsrw6/gBeBSwM JQevKVMnp7CmhO3oZBquGuI/POKiASFgwcrV0Jw/TtX1mU5Gy+lMjwq3EKzJH9JYGDWQ nKMw== X-Gm-Message-State: APzg51DymWv7i/CnjPyQNpw15T9oM0B/BeDsu31lPgVSzK12/b/nYWkX Ybpp48MkjPxkumyPa3u1qtXYPg== X-Received: by 2002:adf:ce06:: with SMTP id p6-v6mr10524597wrn.118.1535703262970; Fri, 31 Aug 2018 01:14:22 -0700 (PDT) Received: from [192.168.0.15] (sju31-1-78-210-255-2.fbx.proxad.net. [78.210.255.2]) by smtp.googlemail.com with ESMTPSA id r66-v6sm8221995wmb.37.2018.08.31.01.14.21 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 31 Aug 2018 01:14:22 -0700 (PDT) Subject: Re: [PATCH v1 02/10] dt-bindings: thermal: Fix a typo in documentation To: Eduardo Valentin , Amit Kucheria Cc: linux-kernel@vger.kernel.org, rnayak@codeaurora.org, linux-arm-msm@vger.kernel.org, bjorn.andersson@linaro.org, smohanad@codeaurora.org, andy.gross@linaro.org, dianders@chromium.org, mka@chromium.org, Zhang Rui , Rob Herring , Mark Rutland , linux-pm@vger.kernel.org, devicetree@vger.kernel.org References: <08b528ddc26adcb57539b1ac9d352850d7d80bfb.1533815718.git.amit.kucheria@linaro.org> <20180824232423.GD25163@localhost.localdomain> From: Daniel Lezcano Message-ID: Date: Fri, 31 Aug 2018 10:14:20 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: <20180824232423.GD25163@localhost.localdomain> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 25/08/2018 01:24, Eduardo Valentin wrote: > On Thu, Aug 09, 2018 at 06:02:34PM +0530, Amit Kucheria wrote: >> c(1) + x(1) was actually meant to be c(1) * x(1). >> >> While we're at it, add some brackets to make it nicer to read. >> >> Signed-off-by: Amit Kucheria >> --- >> Documentation/devicetree/bindings/thermal/thermal.txt | 2 +- >> 1 file changed, 1 insertion(+), 1 deletion(-) >> >> diff --git a/Documentation/devicetree/bindings/thermal/thermal.txt b/Documentation/devicetree/bindings/thermal/thermal.txt >> index cc553f0952c5..751104213d08 100644 >> --- a/Documentation/devicetree/bindings/thermal/thermal.txt >> +++ b/Documentation/devicetree/bindings/thermal/thermal.txt >> @@ -152,7 +152,7 @@ Optional property: >> Elem size: one cell the sensors listed in the thermal-sensors property. >> Elem type: signed Coefficients defaults to 1, in case this property >> is not specified. A simple linear polynomial is used: >> - Z = c0 * x0 + c1 + x1 + ... + c(n-1) * x(n-1) + cn. >> + Z = (c0 * x0) + (c1 * x1) + ... + (c(n-1) * x(n-1)) + cn. > > To be honest, I would prefer if this looks like: > + Z = c0 * x0 + c1 * x1 + ... + c(n-1) * x(n-1) + cn. > > The extra bracketing seams unnecessary confusion I agree, the brackets don't change the computation ordering, they are pointless. -- Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog