]> git.baikalelectronics.ru Git - uboot.git/commit
thermal: imx_tmu: Fix the temperature unit
authorFabio Estevam <festevam@denx.de>
Wed, 23 Aug 2023 17:59:10 +0000 (14:59 -0300)
committerStefano Babic <stefano.babic@swupdate.org>
Mon, 4 Sep 2023 15:26:44 +0000 (17:26 +0200)
commit92f6e479505905c7c1d0f6c764ffeecff8c8e1da
tree00c2fb39367f04adde7b1db30cc721907224e2cb
parent13a74958ec3b3a70b3425103e5824a2b87dc4074
thermal: imx_tmu: Fix the temperature unit

The temperature unit is millidegree Celsius, so divide by 1000 to correctly
print the temperature values in Celsius.

While at it, also change a typo: "has beyond" to "is beyond".

Signed-off-by: Fabio Estevam <festevam@denx.de>
drivers/thermal/imx_tmu.c