[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20220713145655.3844109-1-carlos.bilbao@amd.com>
Date: Wed, 13 Jul 2022 09:56:52 -0500
From: Carlos Bilbao <carlos.bilbao@....com>
To: <bjorn.andersson@...aro.org>, <amitk@...nel.org>,
<thara.gopinath@...il.com>, <konrad.dybcio@...ainline.org>
CC: <agross@...nel.org>, <david.brown@...aro.org>,
<linux-pm@...r.kernel.org>, <linux-arm-msm@...r.kernel.org>,
<linux-kernel@...r.kernel.org>, <bilbao@...edu>,
Carlos Bilbao <carlos.bilbao@....com>
Subject: [PATCH 0/4] thermal/drivers/qcom: Code refactoring
This patchset refactors the code of Qualcomm thermal drivers, with simpler
return values, logic for two functions, and a constant array for maximum
number of sensors per version.
Carlos Bilbao (4):
thermal/drivers/qcom: Simplify returns for tsens-8060.c
thermal/drivers/qcom: Simplify function code_to_degc()
thermal/drivers/qcom: Simplify function calibrate_8960()
thermal/drivers/qcom: Use array for max num sensors per version
---
drivers/thermal/qcom/tsens-8960.c | 33 ++++++++---------------------
drivers/thermal/qcom/tsens-common.c | 15 ++++++-------
drivers/thermal/qcom/tsens-v0_1.c | 4 ++--
drivers/thermal/qcom/tsens-v1.c | 2 +-
drivers/thermal/qcom/tsens-v2.c | 2 +-
drivers/thermal/qcom/tsens.h | 6 ++++++
6 files changed, 25 insertions(+), 37 deletions(-)
Powered by blists - more mailing lists