Thermal/int3403: Fix thermal hysteresis unit conversion
authorlan,Tianyu <tianyu.lan@intel.com>
Thu, 3 Apr 2014 06:04:15 +0000 (14:04 +0800)
committerZhang Rui <rui.zhang@intel.com>
Thu, 15 May 2014 08:38:48 +0000 (16:38 +0800)
commitced2284339580b50b997807d02ccee19692b72b3
tree013dac8a505e5def6b78c61a38f629ae8d89d332
parentd6d211db37e75de2ddc3a4f979038c40df7cc79c
Thermal/int3403: Fix thermal hysteresis unit conversion

Thermal hysteresis represents a temperature difference.
But the original code treats it as a temperature value,
Convert it from tenths of degree Kelvin to Milli-Celsius
by deducing 273200. This is not right.

Kelvin and Celsius have same degree size. From temperature
difference view, the conversion between tenths of degree
Kelvin unit and Milli-Celsius unit is just to multiply 100.

Signed-off-by: Lan Tianyu <tianyu.lan@intel.com>
Acked-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Signed-off-by: Zhang Rui <rui.zhang@intel.com>
drivers/thermal/int3403_thermal.c