diff options
author | Rasmus Villemoes <[email protected]> | 2015-10-01 23:45:31 +0200 |
---|---|---|
committer | Zhang Rui <[email protected]> | 2015-10-10 11:32:30 +0800 |
commit | e866a2e3950fe2f708d5cc67d641b1725ef7a708 (patch) | |
tree | 223c438de12f410a863dc46edc07927435428d03 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | a71544cd9373b879bbb40f55ce4d01556a4bc29e (diff) |
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 <[email protected]>
Acked-by: Darren Hart <[email protected]>
Signed-off-by: Zhang Rui <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions