]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
thermal: rockchip: consistently use int for temperatures
authorCaesar Wang <wxt@rock-chips.com>
Mon, 9 Nov 2015 04:48:58 +0000 (12:48 +0800)
committerEduardo Valentin <edubezval@gmail.com>
Thu, 12 Nov 2015 18:20:16 +0000 (10:20 -0800)
commit437df2172e8d63b21b748ba1f3ac574451a51440
tree40391f0a32530445e2f67ec6e5dd9fa60eeb6f49
parent020ba95dbbbe83073a9728e046b4512b40896197
thermal: rockchip: consistently use int for temperatures

As Temperature is currently represented as int not long in the thermal
framework since use int intead of unsigned long/long to represent
temperature to avoid bogus overheat detection when negative temperature
reported.

Signed-off-by: Caesar Wang <wxt@rock-chips.com>
Signed-off-by: Eduardo Valentin <edubezval@gmail.com>
drivers/thermal/rockchip_thermal.c