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(-)