drivers: thermal: ti-soc-thermal: fix trend computation

When interval delay is programmed to be 0, the trend will
not be computed. This patch changes the driver to use simple
difference, assuming interval of 1ms.

Reported-by: Ranganath Krishnan <ranganath@ti.com>
Signed-off-by: Eduardo Valentin <eduardo.valentin@ti.com>
1 file changed