thermal: intel: pch: use macro for temperature calculation
authorSumeet Pawnikar <sumeet.r.pawnikar@intel.com>
Thu, 10 Dec 2020 12:48:01 +0000 (18:18 +0530)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Thu, 10 Dec 2020 13:30:44 +0000 (14:30 +0100)
commit8639ff4194c98c78536f6e8941a79a3a966a71f1
tree38e0738a85f9e66a88d54d56f59f28f6839841ad
parent729a866af3b3f63ccdb91b3af61f3e07b668b757
thermal: intel: pch: use macro for temperature calculation

Use macro for temperature calculation

Signed-off-by: Sumeet Pawnikar <sumeet.r.pawnikar@intel.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@intel.com>
Reviewed-by: Zhang Rui <rui.zhang@intel.com>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Link: https://lore.kernel.org/r/20201210124801.13850-1-sumeet.r.pawnikar@intel.com
drivers/thermal/intel/intel_pch_thermal.c