Thermal: move the KELVIN_TO_MILLICELSIUS macro to thermal.h
authorAaron Lu <aaron.lu@intel.com>
Tue, 25 Mar 2014 02:40:09 +0000 (10:40 +0800)
committerZhang Rui <rui.zhang@intel.com>
Fri, 10 Oct 2014 05:57:15 +0000 (13:57 +0800)
commit7b83fd9d91a411158f72d36958103c708c3b5a86
tree918ae19513e4f3f5553ad31908695cfddef0b921
parentd806c6e9cdfd6c5663687ec7109e151c0ff66639
Thermal: move the KELVIN_TO_MILLICELSIUS macro to thermal.h

This macro can be used by other component so move it to a common header,
but in a slightly different way: define two macros, one macro with an
offset and the other doesn't.

Signed-off-by: Aaron Lu <aaron.lu@intel.com>
Signed-off-by: Zhang Rui <rui.zhang@intel.com>
drivers/acpi/thermal.c
include/linux/thermal.h