Wei Ni
1d0fd42fa3
thermal: consistently use int for trip temp
...
The commit 17e8351a77 consistently use int for temperature,
however it missed a few in trip temperature and thermal_core.
In current codes, the trip->temperature used "unsigned long"
and zone->temperature used"int", if the temperature is negative
value, it will get wrong result when compare temperature with
trip temperature.
This patch can fix it.
Signed-off-by: Wei Ni <wni@nvidia.com >
Signed-off-by: Eduardo Valentin <edubezval@gmail.com >
2016-04-20 20:31:14 -07:00
..
2016-04-04 10:41:08 -07:00
2016-03-23 06:06:45 -07:00
2016-03-21 14:35:52 -07:00
2016-03-22 15:48:44 -07:00
2016-03-28 17:57:45 +02:00
2016-03-24 19:57:15 -07:00
2016-03-23 06:09:15 -07:00
2016-04-04 10:41:08 -07:00
2016-03-29 11:52:11 +02:00
2016-04-04 10:41:08 -07:00
2016-04-04 10:41:08 -07:00
2016-04-04 10:41:08 -07:00
2016-03-25 11:37:57 -04:00
2016-04-04 10:41:08 -07:00
2016-03-22 15:36:02 -07:00
2016-03-22 15:36:02 -07:00
2016-04-05 14:19:08 +02:00
2016-03-25 19:10:03 +01:00
2016-03-22 15:36:02 -07:00
2016-03-22 15:36:02 -07:00
2016-03-26 16:14:37 -04:00
2016-03-23 06:06:45 -07:00
2016-04-18 13:43:02 -07:00
2016-04-04 10:41:08 -07:00
2016-03-25 08:48:31 -07:00
2016-04-01 14:33:46 -04:00
2016-04-07 17:22:20 -07:00
2016-04-12 10:25:30 -07:00
2016-03-25 16:37:42 -07:00
2016-04-01 17:03:37 -05:00
2016-03-25 16:37:42 -07:00
2016-03-22 15:36:02 -07:00
2016-04-05 13:25:12 +02:00
2016-03-25 16:37:42 -07:00
2016-03-22 15:36:02 -07:00
2016-03-24 10:52:25 -07:00
2016-03-22 15:36:02 -07:00
2016-04-04 10:41:08 -07:00
2016-04-14 19:31:34 -07:00
2016-04-07 16:56:33 -04:00
2016-04-04 10:41:08 -07:00
2016-04-04 10:41:08 -07:00
2016-03-23 12:34:17 +01:00
2016-03-21 19:30:06 -04:00
2016-03-25 16:37:42 -07:00
2016-04-04 10:41:08 -07:00
2016-04-15 13:00:11 -05:00
2016-03-24 10:02:14 -07:00
2016-04-14 09:01:47 -06:00
2016-03-22 15:36:02 -07:00
2016-03-22 15:36:02 -07:00
2016-03-22 15:36:02 -07:00
2016-03-22 15:36:02 -07:00
2016-03-29 11:52:11 +02:00
2016-04-14 12:56:09 -07:00
2016-03-25 16:37:42 -07:00
2016-03-25 16:37:42 -07:00
2016-03-25 16:37:42 -07:00
2016-03-25 16:37:42 -07:00
2016-04-01 14:38:59 -04:00
2016-04-04 10:41:08 -07:00
2016-04-20 20:31:14 -07:00
2016-03-24 10:52:25 -07:00
2016-04-13 12:02:28 -07:00