drivers: thermal: Update the set_trips for hysteresis change

User space thermal daemon can change the hysteresis value for a trip
threshold dynamically. In those cases the hysteresis store routine
calls thermal_zone_set_trips only when the set_temp_hyst call fails. For
sensors using of-thermal interface and setting thresholds using set_trips,
will never get the new hysteresis value, as of-thermal will return
success for set_temp_hyst callback.

Update the hysteresis store callback to call thermal_zone_set_trips
function when there is a new hysteresis value from user space.

Change-Id: I513086e3823098e208c1843d5a38fe6c111a902c
Signed-off-by: Ram Chandrasekar <rkumbako@codeaurora.org>
1 file changed