diff options
author | Rasmus Villemoes <linux@rasmusvillemoes.dk> | 2015-10-02 00:45:31 +0300 |
---|---|---|
committer | Zhang Rui <rui.zhang@intel.com> | 2015-10-10 06:32:30 +0300 |
commit | e866a2e3950fe2f708d5cc67d641b1725ef7a708 (patch) | |
tree | 223c438de12f410a863dc46edc07927435428d03 /drivers/thermal | |
parent | a71544cd9373b879bbb40f55ce4d01556a4bc29e (diff) | |
download | linux-e866a2e3950fe2f708d5cc67d641b1725ef7a708.tar.xz |
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 'drivers/thermal')
0 files changed, 0 insertions, 0 deletions