thermal: tsens: Use the new threshold notification API

Use the new threshold notification API to include the temperature read
by the tsens driver. This will make sure thermal framework will use the
same temperature as tsens driver to evaluate.

Change-Id: Id50986c407052717fddc0554065dc711a2641c14
Signed-off-by: Ram Chandrasekar <rkumbako@codeaurora.org>
diff --git a/drivers/thermal/tsens2xxx.c b/drivers/thermal/tsens2xxx.c
index 0dc375f..3c531a7 100644
--- a/drivers/thermal/tsens2xxx.c
+++ b/drivers/thermal/tsens2xxx.c
@@ -499,7 +499,7 @@
 			/* Use id for multiple controllers */
 			pr_debug("sensor:%d trigger temp (%d degC)\n",
 				tm->sensor[i].hw_id, temp);
-			of_thermal_handle_trip(tm->sensor[i].tzd);
+			of_thermal_handle_trip_temp(tm->sensor[i].tzd, temp);
 		}
 	}