diff options
author | Rasmus Villemoes <linux@rasmusvillemoes.dk> | 2015-10-01 23:45:31 +0200 |
---|---|---|
committer | Zhang Rui <rui.zhang@intel.com> | 2015-10-10 11:32:30 +0800 |
commit | e866a2e3950fe2f708d5cc67d641b1725ef7a708 (patch) | |
tree | 223c438de12f410a863dc46edc07927435428d03 /tools/thermal | |
parent | a71544cd9373b879bbb40f55ce4d01556a4bc29e (diff) | |
download | linux-stable-e866a2e3950fe2f708d5cc67d641b1725ef7a708.tar.gz linux-stable-e866a2e3950fe2f708d5cc67d641b1725ef7a708.tar.bz2 linux-stable-e866a2e3950fe2f708d5cc67d641b1725ef7a708.zip |
linux/thermal.h: rename KELVIN_TO_CELSIUS to DECI_KELVIN_TO_CELSIUS
The macros KELVIN_TO_CELSIUS and CELSIUS_TO_KELVIN actually convert
between deciKelvins and Celsius, so rename them to reflect that. While
at it, use a statement expression in DECI_KELVIN_TO_CELSIUS to prevent
expanding the argument multiple times and get rid of a few casts.
Signed-off-by: Rasmus Villemoes <linux@rasmusvillemoes.dk>
Acked-by: Darren Hart <dvhart@linux.intel.com>
Signed-off-by: Zhang Rui <rui.zhang@intel.com>
Diffstat (limited to 'tools/thermal')
0 files changed, 0 insertions, 0 deletions