From patchwork Thu Aug 9 12:32:34 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Amit Kucheria X-Patchwork-Id: 143830 Delivered-To: patch@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp2038378ljj; Thu, 9 Aug 2018 05:33:06 -0700 (PDT) X-Google-Smtp-Source: AA+uWPzGraRGXqHxoTwiC8oHvu3QWxFGeCbD249Fk9vGljnZnmbrmyZOKjjOcDIreayUBk5sdVRW X-Received: by 2002:a63:5c7:: with SMTP id 190-v6mr1949790pgf.385.1533817986254; Thu, 09 Aug 2018 05:33:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1533817986; cv=none; d=google.com; s=arc-20160816; b=0hBsH8DrWDcnbuZlyxlg7oKI20/9SVDwpdCs9Zmj1GVBPMVD3PJ1r3lNu4W3ZJxPq6 Tw8m+VpR8LSjVvRN/QG5oeiI3s78nD9ZvKTEigYIkZBW1kTZMZdFK4ZoL1cKl3GjElB0 MLblZflAEGwGNyzlWEEFhy4IfIqPvnezjaaNQhDJfWMYxy5Ua7eapCqlTI96yUDLQ257 KaLo3j/lCcWwge3Fl3Oz5ITHftHQ/+4hY8n4wbZnsWmqsvIbz1oBcMiyz41yVRJtAyyA ChnCN0dOb1kzWYOFgsvH+3dAwUQgKtN7Po50CRrBgFYSbUjfriNCL4KVYdyFfx5eshoH TBbA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:references :in-reply-to:message-id:date:subject:cc:to:from:dkim-signature :arc-authentication-results; bh=zbtXplXL4eCfyozOTLoTj7c7yf/Di+JxuuvxI0s2oo8=; b=Y1lVhxiiPB9px0IQxKMMrr9L5KaUQOGFL9Z1bt8YRBG1XK5bu5W2dyGu1w/83DuxNP iyceRYXGgkP+W61/KS3Z9lWgYiZY63SYkpW81v15pa9GYLmg5en2sGDzqLi4S0MCvxjI 2RQYwreY8th1B0/ujuV3UUTUCDX+o/8WwaMJerx3XVtQrsYfWAyBWl9st8XdxcDucePy qTDuiMb+GvvmfvFsBGp+ltjY1P7rXd90DnpN2abXM5QMZDmZlJxYXdbd1LDrm4go9Sia BSY+AzQK0yfML+rntwVCme0scUfAutoLFcobyMjNOaZDWY74PYd1VkPjrH6BmL+7/bNQ S4kw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=b6rAd07H; 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 s7-v6si8179256pfb.16.2018.08.09.05.33.06; Thu, 09 Aug 2018 05:33:06 -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=b6rAd07H; 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 S1732088AbeHIO5p (ORCPT + 31 others); Thu, 9 Aug 2018 10:57:45 -0400 Received: from mail-pf1-f194.google.com ([209.85.210.194]:37623 "EHLO mail-pf1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732053AbeHIO5o (ORCPT ); Thu, 9 Aug 2018 10:57:44 -0400 Received: by mail-pf1-f194.google.com with SMTP id a26-v6so2793974pfo.4 for ; Thu, 09 Aug 2018 05:33:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :in-reply-to:references; bh=zbtXplXL4eCfyozOTLoTj7c7yf/Di+JxuuvxI0s2oo8=; b=b6rAd07HpkMnc5nB0TJyPTwaanaEBzqHYDhX6y1dkCJu1hA5Q70SstU81tyCkPZjYD QQjwDzlLeA+3D6T4w7qahzlS2ioLrmjnK/9ccUaCT07l5afJqb/0rxgUcI8KaqEZCOfG NWZTZDfJOysWY4FLhzQ8gcr5umfQWcAviNGp0= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:in-reply-to:references; bh=zbtXplXL4eCfyozOTLoTj7c7yf/Di+JxuuvxI0s2oo8=; b=GXcXBCVH8bHUI/2yxBPnCU3qILUrxUnUvCzygG2NlAfS0l9pYETM9Nsn43dPZcn35z ouMtNNL9DHXAZQ+5cerayKIdNKrPVS6ZZxhe9+FtKwHJYBP0pEPxWC60LcDMe6miatHr AVHgzn1AOIjdwRcnNGb0aUqepT5i4wygfaAkaI8W3QQBaUvnCeqNYesFdhU7KHyskcCb e5AjY/Rm2Wv7pVo1zDENAnO7R1x3JkOgqWIIGTOVjZJ9QKcJcsy6BeXelajpQtRts3fP VGlhCernJyBw60yqVar4u+Ig+xGv/HCCc/OjHPujUy84huDXN4a+x3Abg9xWWrOq4OnU Zowg== X-Gm-Message-State: AOUpUlEHGDfSB0F5y896LJYXUGCr2d0GPQqo6tEvdLmSUg9BRooQXu3l f/dkYQIYO60yIe6R7B3jNtkbj7DY5Gk= X-Received: by 2002:a63:c80e:: with SMTP id z14-v6mr1965521pgg.77.1533817983225; Thu, 09 Aug 2018 05:33:03 -0700 (PDT) Received: from localhost ([45.113.251.134]) by smtp.gmail.com with ESMTPSA id g15-v6sm17012656pfg.98.2018.08.09.05.33.02 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 09 Aug 2018 05:33:02 -0700 (PDT) From: Amit Kucheria To: linux-kernel@vger.kernel.org Cc: rnayak@codeaurora.org, linux-arm-msm@vger.kernel.org, bjorn.andersson@linaro.org, edubezval@gmail.com, 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 Subject: [PATCH v1 02/10] dt-bindings: thermal: Fix a typo in documentation Date: Thu, 9 Aug 2018 18:02:34 +0530 Message-Id: <08b528ddc26adcb57539b1ac9d352850d7d80bfb.1533815718.git.amit.kucheria@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: References: In-Reply-To: References: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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(-) -- 2.17.1 Reviewed-by: Matthias Kaehlcke Acked-by: Rob Herring 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. The coefficients are ordered and they match with sensors by means of sensor ID. Additional coefficients are From patchwork Thu Aug 9 12:32:35 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Amit Kucheria X-Patchwork-Id: 143831 Delivered-To: patch@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp2038462ljj; Thu, 9 Aug 2018 05:33:10 -0700 (PDT) X-Google-Smtp-Source: AA+uWPw56idZvMW6MheAEWYt6Twp+mpQ6DgG2plx/BDajeR9LSKLq0uklmiV9oYGRUauSDcu1sFa X-Received: by 2002:a62:398c:: with SMTP id u12-v6mr2221974pfj.9.1533817990456; Thu, 09 Aug 2018 05:33:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1533817990; cv=none; d=google.com; s=arc-20160816; b=m1wECdZkDua7R33WjKhJWSKC7TJPWijQCKmViBfQSfXCzr2IecJG9+cvBpU08l59oS l847UDeXGKW90O9CGc40rsmV9tciNjlf/WHV66qDsvLdCgQiZSbA1Qf0F8WHmYHWEOyR A/T1iCudCq9YuO84DU3QyP7eVVGtiV5FZem7cM+fXGFsSgGO/V7THYE+JsxS6rZOp9Gr pj/+nH1Bebiyr/FsxZdqpvkZpOVYx8sPBhO3QRZVxT84lkrWIAWz5dJhEB+a2BvYbdu+ O9M0DmkC7Pbjfpl9C+FN5irYjRX62WoDvLS/JMdLbfhIPiaEmhRYf+45yOxoKue6fXpy /x6w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:references :in-reply-to:message-id:date:subject:cc:to:from:dkim-signature :arc-authentication-results; bh=GqaR+pMjJdkNsSIhnkSoF14V5peIytBf2o52E7KsCnE=; b=A4kUwJ0whwiFbpOq5PXZFcAlRAnn/Tv4P6lahGUqs9+xh9qGNVc35JcG9MU5/WRf7U O+RNku/MyG38knIDMZRkrb91/ph9b68HDoPL0HKHTAbGceXoycynccTK9ATfeN/Uqq9W qq26Wbx68gkk7PJf9Be7tLvOZz6h59wf6ceXe7faioZUnUCsZbzzH0ioVCODzt2uNRLu 7Ei7+lPrZqh/8dsrohEnHucyCU52oWXP71/ydB42S45s0n2CTxKZLOvptvjmulhCThO6 ASWdYkS8vR/nyuB4LlH3YAzmIEj8LO1Y6A5cv6rPa+Vrcla92iko0me2H5HzYRjAn/gq UHGg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=dfcO0Cnv; 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 w15-v6si5541686ply.501.2018.08.09.05.33.10; Thu, 09 Aug 2018 05:33:10 -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=dfcO0Cnv; 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 S1732133AbeHIO5t (ORCPT + 31 others); Thu, 9 Aug 2018 10:57:49 -0400 Received: from mail-pf1-f194.google.com ([209.85.210.194]:32877 "EHLO mail-pf1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732100AbeHIO5s (ORCPT ); Thu, 9 Aug 2018 10:57:48 -0400 Received: by mail-pf1-f194.google.com with SMTP id d4-v6so2806578pfn.0 for ; Thu, 09 Aug 2018 05:33:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :in-reply-to:references; bh=GqaR+pMjJdkNsSIhnkSoF14V5peIytBf2o52E7KsCnE=; b=dfcO0CnvnkBsmBjgMJJUhSkx0NkiSIuooxhRfBJzC709HygUcr00z0coENS9ngv/3q 6ol8Gts0WWM0Pdfocy5zNf4J27bW4q6VLplzyFL9M9G4Z7XYuGdr3dQ4m4hoR8mv09Ol yH7Q64r/Gf7H2a4JbhxsPzdbukzDsqTaDfvBY= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:in-reply-to:references; bh=GqaR+pMjJdkNsSIhnkSoF14V5peIytBf2o52E7KsCnE=; b=LXbGlR8FXkzd0wCtmzALkUiOlaNqem3aFmO7f2Q499RBdFf1SOKyXXw3tAe+mZHuNd CroirIADlQUZK44l1F2gjr24haqb0hy0K+GPMnsKqTaXME+Lst+wNZ3IHT0NRjTCDNw+ aoKjDq5WO8DX4eCKXo8E6c49v3Rux4DSY9E2yK1+ttAzY/jO2hhHQ5avcIy5z8F74+Ng gdt8wEP5XbKmhGjiTBQKiRjr8LS5FXAh4rS+oqko9r506z4UAoS/TiKDYdFty/6kwFwV u82S+NsStrN/Go91pnKK/AmUl0J3s0YGNxeWe4Kt5S2Q2UnfGDB/Ixl+hhJlCWE2NcUD 1vGQ== X-Gm-Message-State: AOUpUlGsph0dhh3zXjPkfpoxm+QW94fC2aH0u9qHknSfH/jvsFp6fCzI MUrrtywH7EMbtVp39nh5lHY9Yu8mSYI= X-Received: by 2002:a63:81c3:: with SMTP id t186-v6mr2027769pgd.413.1533817986719; Thu, 09 Aug 2018 05:33:06 -0700 (PDT) Received: from localhost ([45.113.251.134]) by smtp.gmail.com with ESMTPSA id z5-v6sm16478779pfi.4.2018.08.09.05.33.05 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 09 Aug 2018 05:33:06 -0700 (PDT) From: Amit Kucheria To: linux-kernel@vger.kernel.org Cc: rnayak@codeaurora.org, linux-arm-msm@vger.kernel.org, bjorn.andersson@linaro.org, edubezval@gmail.com, smohanad@codeaurora.org, andy.gross@linaro.org, dianders@chromium.org, mka@chromium.org, Zhang Rui , linux-pm@vger.kernel.org Subject: [PATCH v1 03/10] thermal: tsens: Add SPDX license identifiers Date: Thu, 9 Aug 2018 18:02:35 +0530 Message-Id: X-Mailer: git-send-email 2.17.1 In-Reply-To: References: In-Reply-To: References: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The TSENS drivers use a GPL-2.0 license. Replace with equivalent SPDX tags and delete the full license text. Signed-off-by: Amit Kucheria --- drivers/thermal/qcom/tsens-8916.c | 11 +---------- drivers/thermal/qcom/tsens-8960.c | 11 +---------- drivers/thermal/qcom/tsens-8974.c | 11 +---------- drivers/thermal/qcom/tsens-common.c | 11 +---------- drivers/thermal/qcom/tsens.c | 11 +---------- drivers/thermal/qcom/tsens.h | 11 ++--------- 6 files changed, 7 insertions(+), 59 deletions(-) -- 2.17.1 Reviewed-by: Matthias Kaehlcke diff --git a/drivers/thermal/qcom/tsens-8916.c b/drivers/thermal/qcom/tsens-8916.c index fdf561b8b81d..c4955c85e922 100644 --- a/drivers/thermal/qcom/tsens-8916.c +++ b/drivers/thermal/qcom/tsens-8916.c @@ -1,15 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0 /* * Copyright (c) 2015, The Linux Foundation. All rights reserved. - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 and - * only version 2 as published by the Free Software Foundation. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * */ #include diff --git a/drivers/thermal/qcom/tsens-8960.c b/drivers/thermal/qcom/tsens-8960.c index 0451277d3a8f..4af76de7dc2e 100644 --- a/drivers/thermal/qcom/tsens-8960.c +++ b/drivers/thermal/qcom/tsens-8960.c @@ -1,15 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0 /* * Copyright (c) 2015, The Linux Foundation. All rights reserved. - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 and - * only version 2 as published by the Free Software Foundation. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * */ #include diff --git a/drivers/thermal/qcom/tsens-8974.c b/drivers/thermal/qcom/tsens-8974.c index 9baf77e8cbe3..7e149edbfeb6 100644 --- a/drivers/thermal/qcom/tsens-8974.c +++ b/drivers/thermal/qcom/tsens-8974.c @@ -1,15 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0 /* * Copyright (c) 2015, The Linux Foundation. All rights reserved. - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 and - * only version 2 as published by the Free Software Foundation. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * */ #include diff --git a/drivers/thermal/qcom/tsens-common.c b/drivers/thermal/qcom/tsens-common.c index 478739543bbc..303e3fdaca98 100644 --- a/drivers/thermal/qcom/tsens-common.c +++ b/drivers/thermal/qcom/tsens-common.c @@ -1,15 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0 /* * Copyright (c) 2015, The Linux Foundation. All rights reserved. - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 and - * only version 2 as published by the Free Software Foundation. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * */ #include diff --git a/drivers/thermal/qcom/tsens.c b/drivers/thermal/qcom/tsens.c index a2c9bfae3d86..90bb431cf740 100644 --- a/drivers/thermal/qcom/tsens.c +++ b/drivers/thermal/qcom/tsens.c @@ -1,15 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0 /* * Copyright (c) 2015, The Linux Foundation. All rights reserved. - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 and - * only version 2 as published by the Free Software Foundation. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * */ #include diff --git a/drivers/thermal/qcom/tsens.h b/drivers/thermal/qcom/tsens.h index 14331eb45a86..8207610f326a 100644 --- a/drivers/thermal/qcom/tsens.h +++ b/drivers/thermal/qcom/tsens.h @@ -1,15 +1,8 @@ +/* SPDX-License-Identifier: GPL-2.0 */ /* * Copyright (c) 2015, The Linux Foundation. All rights reserved. - * - * This software is licensed under the terms of the GNU General Public - * License version 2, as published by the Free Software Foundation, and - * may be copied, distributed, and modified under those terms. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. */ + #ifndef __QCOM_TSENS_H__ #define __QCOM_TSENS_H__