thermal: Add comment explaining test for critical temperature
authorSascha Hauer <s.hauer@pengutronix.de>
Mon, 6 Jul 2015 07:46:17 +0000 (09:46 +0200)
committerZhang Rui <rui.zhang@intel.com>
Mon, 3 Aug 2015 15:15:51 +0000 (23:15 +0800)
commit934c93b8c193b62fc86256ea64aef65e9a7b4e9e
tree647eadf253c36d1f400af46b8cbbce9a1fe8f82e
parent79e5421cf0bd9b3e56f523e95e3511757edb9616
thermal: Add comment explaining test for critical temperature

The code testing if a temperature should be emulated or not is
not obvious. Add a comment explaining why this test is done.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Reviewed-by: Mikko Perttunen <mperttunen@nvidia.com>
Signed-off-by: Zhang Rui <rui.zhang@intel.com>
drivers/thermal/thermal_core.c