diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2017-11-30 10:17:36 +0100 |
---|---|---|
committer | Eduardo Valentin <edubezval@gmail.com> | 2018-01-01 11:45:55 -0800 |
commit | c5bbdb4ba30977a30f485e66c8af9b4c44f3798e (patch) | |
tree | d7bdf167a1b7267b4507d05ec9416ec4185b631f /tools/gpio/lsgpio.c | |
parent | e4bb2240d4db6188f2e88610a68bda12e2bc98e1 (diff) |
thermal: imx: improve comments describing algorithm for temp calculation
The description of the implemented algorithm is hardly understandable
without having the right application note side-by-side to the code.
Fix this by using shorter and more intuitive variable names, describe
their meaning and transform a single formula instead of first talking about
slope and then about "milli_Tmeas".
There are no code changes.
Reviewed-by: Leonard Crestez <leonard.crestez@nxp.com>
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Eduardo Valentin <edubezval@gmail.com>
Diffstat (limited to 'tools/gpio/lsgpio.c')
0 files changed, 0 insertions, 0 deletions