Message ID | 5b21bbc7e331a4ee415b62e8cb78ada953c98278.1553086065.git.amit.kucheria@linaro.org (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-arm-msm-owner@kernel.org> Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id E34B817E0 for <patchwork-linux-arm-msm@patchwork.kernel.org>; Wed, 20 Mar 2019 13:20:27 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id CBC7128A93 for <patchwork-linux-arm-msm@patchwork.kernel.org>; Wed, 20 Mar 2019 13:20:27 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id C086829BDC; Wed, 20 Mar 2019 13:20:27 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.5 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI, RCVD_IN_SORBS_WEB autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7960A28A93 for <patchwork-linux-arm-msm@patchwork.kernel.org>; Wed, 20 Mar 2019 13:20:27 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728287AbfCTNT1 (ORCPT <rfc822;patchwork-linux-arm-msm@patchwork.kernel.org>); Wed, 20 Mar 2019 09:19:27 -0400 Received: from mail-pg1-f178.google.com ([209.85.215.178]:37061 "EHLO mail-pg1-f178.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728278AbfCTNT0 (ORCPT <rfc822;linux-arm-msm@vger.kernel.org>); Wed, 20 Mar 2019 09:19:26 -0400 Received: by mail-pg1-f178.google.com with SMTP id q206so1805829pgq.4 for <linux-arm-msm@vger.kernel.org>; Wed, 20 Mar 2019 06:19:26 -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=iB+qXWUd5MH36EuKW0QX1Zz13dgt3ZzYo72RTOcmlkQ=; b=DY6eu9MclZkFd44KfN7j4xlekZHvBA3SGIuQM1IU3TPaN1Spf2LlAijdNv0iN8eQ70 GMbyUiDxootoK0t9Q/lsU1Kir0b36qwyTkjQnoCO+0JzMB3k9LH9dxHRNwbWEIZF7If4 qY2HIjATzyPoPU9rXXureIAlp23fZ9lCltauSrmbj/jKhqJIgnjRV+bToXVWgh8dlXNw PilzJgR8l+TXHkDhRMhGTqQ1X3UP5EllaTe+xHkE23usF+1YWQT/117W9GSkK2/6ArH1 uFxTMxHAZTtLb/86T3PEigialP8HNHk0J6O8/XdBREqGNB1fpiQW0Vf4jCKeYUV/2yej Dtyw== 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=iB+qXWUd5MH36EuKW0QX1Zz13dgt3ZzYo72RTOcmlkQ=; b=GW9xZ4YCu43j6v0y2nebLtPPT+v5+ZvxhAS1tyqpaoOUQ3iUkHi7HZcL5q4l+MdPej vz8x9IwQ4RFseyOScSiMiSsAgB5OEnS4DZsGKlhIcw+TM2BSCmMaNEzrpWoo+NANoGYd 4pw34JmfgjLNrWDg8Z1OuVTO6HITYH73weZMeLjZ+TL1GCee4Quz1C2NOXjhsb1zY4HF i0QviH7rzgQsz0q6LFExjwQbRhi0EmdOXW0xedeuTxnObMOGUkv3eDspvStftgndRbNj q+1g82pAWYE4ykAR+5yDstHR3SPn2UXTNw/j40b8K/JWFR4z+FgePWAVo2+t49SlDDFm M97w== X-Gm-Message-State: APjAAAXc2czb0D7oykH+4FxAJBcLgxf1iD95WCbfc37ttrPtj6zLyErz GE6lu5tjqGefgN4hIRC+hboplg== X-Google-Smtp-Source: APXvYqzip6n6hmC7i8Srs4GdQXA0SIdJYPMXO3K1+p7/6AWvViw1xr8iCNCQQUDdc4t8P67Ey74N7A== X-Received: by 2002:a17:902:8d97:: with SMTP id v23mr8218944plo.274.1553087965649; Wed, 20 Mar 2019 06:19:25 -0700 (PDT) Received: from localhost ([114.143.122.221]) by smtp.gmail.com with ESMTPSA id u62sm7589873pfa.124.2019.03.20.06.19.24 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 20 Mar 2019 06:19:25 -0700 (PDT) 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: [PATCHv3 14/23] drivers: thermal: tsens: change data type for sensor IDs Date: Wed, 20 Mar 2019 18:47:54 +0530 Message-Id: <5b21bbc7e331a4ee415b62e8cb78ada953c98278.1553086065.git.amit.kucheria@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <cover.1553086065.git.amit.kucheria@linaro.org> References: <cover.1553086065.git.amit.kucheria@linaro.org> In-Reply-To: <cover.1553086065.git.amit.kucheria@linaro.org> References: <cover.1553086065.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 X-Virus-Scanned: ClamAV using ClamSMTP |
Series |
thermal: tsens: Refactor to use regmap_field
|
expand
|
diff --git a/drivers/thermal/qcom/tsens.h b/drivers/thermal/qcom/tsens.h index a3bf7de88ae8..527c42cfd2d5 100644 --- a/drivers/thermal/qcom/tsens.h +++ b/drivers/thermal/qcom/tsens.h @@ -35,8 +35,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(-)