Message ID | 031b5d48e77a0372d27cd9c79fe60730e47447e7.1551355503.git.amit.kucheria@linaro.org |
---|---|
State | Accepted |
Commit | 66ad8a100953dc1433c3ead8c473746d60c05693 |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a02:5cc1:0:0:0:0:0 with SMTP id w62csp576719jad; Thu, 28 Feb 2019 04:27:30 -0800 (PST) X-Google-Smtp-Source: APXvYqx8WCgq7tX3JlVzJJRx4yOY/VX8SscZL0lZ/hgYeikUZAiPwkNGOMraKcqvQh/TCmnV/gdH X-Received: by 2002:a17:902:9a5:: with SMTP id 34mr1061295pln.39.1551356850515; Thu, 28 Feb 2019 04:27:30 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1551356850; cv=none; d=google.com; s=arc-20160816; b=ni6yuh5GwL82hoH+L4KbF7FvzfFOHY0WLP6mgvScdG4cA37yK/NX73Y5VRpsG+PXMA Cwc0hw9Y+s/y6NOE1tk0F38uG4JYYjauIeI9V62Ua+9rIB2/dDYWKBSUon+BBmAdzMi0 ERLVENgq2EwBJnAy5Swxvgg9X+4sQCLZAkyw4oyo16LTRfmGysbEVyGK1JeffH+56l3r IFORnfgtPeCkLMBLAngKAso2zWQ5VsuOEZX2vmaQN6rMzdsSXs62zSoDhijuTJl39dwr Y4DXt/Sgjw7HjelzyxbegRezy77+h6UbLSuOfCm9jhoaLy1hgnpunFKN7i1oOh5NOlfo selQ== 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; bh=5rNls9PJRn4v8yy/hG2zwnbZ+uPiqMw2tvNWVfaTE3s=; b=BVRiD13mVpsLcvb673GNunpsiBtW6QjlbsApliZll2Kwbns4ZUAZnRrS885aQPiROK UWAtbtSXVQtXQH+hbPqTPIU7SoKO3ncWXz165m/DcET7OcFC1S+mm6TtnMFqDQzShHFF 1IVriFw68ZrO1E1t2XTmcDf2FdsKzKtzXN1LKd3O67E2oMbGQCJkyGTMqYaok8QIzadr jafJLnIUOTpHGmttk5qZUXJViVpE2NuvyuJayizONEEQ/CwUiB3Lml9OVPWiplebMB1z lyRSmNem4uUJzefCVDXkeDvwGE+zVB2cqHV4TSRbiBuQtDe9hH8PQ3gRy+pHfYXhOs4J BteQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=JNP+0LMs; spf=pass (google.com: best guess record for domain of linux-arm-msm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-arm-msm-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: <linux-arm-msm-owner@vger.kernel.org> Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v190si17259549pgd.584.2019.02.28.04.27.30; Thu, 28 Feb 2019 04:27:30 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-arm-msm-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=JNP+0LMs; spf=pass (google.com: best guess record for domain of linux-arm-msm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-arm-msm-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 S1731573AbfB1M12 (ORCPT <rfc822;jorge.ramirez-ortiz@linaro.org> + 15 others); Thu, 28 Feb 2019 07:27:28 -0500 Received: from mail-wm1-f67.google.com ([209.85.128.67]:52798 "EHLO mail-wm1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731510AbfB1M12 (ORCPT <rfc822;linux-arm-msm@vger.kernel.org>); Thu, 28 Feb 2019 07:27:28 -0500 Received: by mail-wm1-f67.google.com with SMTP id m1so9086225wml.2 for <linux-arm-msm@vger.kernel.org>; Thu, 28 Feb 2019 04:27:27 -0800 (PST) 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=5rNls9PJRn4v8yy/hG2zwnbZ+uPiqMw2tvNWVfaTE3s=; b=JNP+0LMsdZEAuxUlH07ex986yDXpk6607vbc8v5oR6cGShkyhAD2uqSWayDF69vU+3 E7xVC06s8fAxUyu122JXU4uiSU2m1C9eIggCzLOoUtf3oiArQbtZhDM8h99K3xu8R1GQ S7NAGCEWZhD9/QF24Z914k1+dL2b/Q/xHo0P1X+NY8DLrZfah/fGq3mtG7oaaQrCgu1x cXkSYUWMe+Fb8gFlghNfRuhx8F9Fy0kVaKdGhkARFugxt6dc2bYYVlhEi5EHDE44WJWN ylBmy3GSRugs4ylL9HxRnCGNqA3enBd9xrmsd+7b7X9QKpexjeYJUunoujlu7j0GLOaW FD5Q== 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=5rNls9PJRn4v8yy/hG2zwnbZ+uPiqMw2tvNWVfaTE3s=; b=fcsul1WQjeNdTJ5edbzbGFpELWo/of+XLnlHxXjt5bu9ZUEKWy/bpm7UvS7G8kbmxx jnyD6mm0gPocYN204fq5AkG34FGWNZjXdG/ntlI/ZM3lLoSo+ebQ7nMw6Wfhfd0EcCHw URmnp8lOf8Cz0eN2AMTE1bWe9S/AoOShrND0WePhKzG2qdAyNrJy7NjEyajWaw2VSrzs Vd9qPvP+ZMS+SJDNcjWcrcd5x0Q2tAtPd5AXD+nb/MMtL09ECMOPYjjgYHevJzYP5iNu cupzBYE9TmYX9lgmYNEM6KC0vo5N5lV7e7aTwMvILHS4/rZdwDVD7zFRISqkJomcNOXD 2djA== X-Gm-Message-State: AHQUAubk2BI1NkOZtqRzRayIgndDbPJQDd7kp5e8+HFVxlzh0OmpwIEy daPkS6tKDc5d/tiMY5FFROugc1guFh4= X-Received: by 2002:a1c:2097:: with SMTP id g145mr2665465wmg.81.1551356846508; Thu, 28 Feb 2019 04:27:26 -0800 (PST) Received: from localhost ([49.248.54.130]) by smtp.gmail.com with ESMTPSA id x17sm32944388wrd.95.2019.02.28.04.27.24 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 28 Feb 2019 04:27:25 -0800 (PST) From: Amit Kucheria <amit.kucheria@linaro.org> To: linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, bjorn.andersson@linaro.org, edubezval@gmail.com, andy.gross@linaro.org, Daniel Lezcano <daniel.lezcano@linaro.org>, David Brown <david.brown@linaro.org>, Zhang Rui <rui.zhang@intel.com> Cc: linux-pm@vger.kernel.org Subject: [PATCH v2 15/24] drivers: thermal: tsens: change data type for sensor IDs Date: Thu, 28 Feb 2019 17:51:05 +0530 Message-Id: <031b5d48e77a0372d27cd9c79fe60730e47447e7.1551355503.git.amit.kucheria@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <cover.1551355503.git.amit.kucheria@linaro.org> References: <cover.1551355503.git.amit.kucheria@linaro.org> In-Reply-To: <cover.1551355503.git.amit.kucheria@linaro.org> References: <cover.1551355503.git.amit.kucheria@linaro.org> Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: <linux-arm-msm.vger.kernel.org> X-Mailing-List: linux-arm-msm@vger.kernel.org |
Series |
None
|
expand
|
diff --git a/drivers/thermal/qcom/tsens.h b/drivers/thermal/qcom/tsens.h index 023fed3352e3..a20725b1cc67 100644 --- a/drivers/thermal/qcom/tsens.h +++ b/drivers/thermal/qcom/tsens.h @@ -29,8 +29,8 @@ struct tsens_sensor { struct tsens_priv *priv; struct thermal_zone_device *tzd; int offset; - int id; - int hw_id; + unsigned int id; + unsigned int hw_id; int slope; u32 status; };
The IDs cannot be negative, fix the data type. Signed-off-by: Amit Kucheria <amit.kucheria@linaro.org> --- drivers/thermal/qcom/tsens.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -- 2.17.1