[PATCH 0/4] thermal/drivers/qcom: Code refactoring

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [Linux for Sparc]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux