qoriq_thermal: drop temp_delta in favor of hysteresis
The same temp_delta was applied to all trip points mapped to the sensor,
hysteresis was ignored.
Usage of thermal_zone_device_ops->get_trend is still questionable, the
default thermal core behavior makes more sense. Upstream kernel doesn't
set .get_trend, just .get_temp.
With this change configured hysteresis is at least honored, and both
trip temps and hysteresis can be set via sysfs as expected.
(cherry picked from commit 35561e7c9c733b61edd304cf62f934de67e40eb0)
1 file changed