diff options
author | Amit Kucheria <amit.kucheria@linaro.org> | 2019-03-20 16:17:56 +0300 |
---|---|---|
committer | Eduardo Valentin <edubezval@gmail.com> | 2019-05-14 16:59:20 +0300 |
commit | dbdaa582e4ee38c9e2c2d500ebb102a350b7e1fc (patch) | |
tree | 04d34bf9014cd7b27103178beb2c90815ee7917b /net/lapb/lapb_timer.c | |
parent | 1b6e3e517fadcfbbe0f88eb676ebffafc20fd49c (diff) | |
download | linux-dbdaa582e4ee38c9e2c2d500ebb102a350b7e1fc.tar.xz |
drivers: thermal: tsens: simplify get_temp_tsens_v2 routine
The current implementation is based on an algorithm published in the
docs. Instead of reading the temperature thrice w/o any explanation,
improve the algorithm.
This will become the basis for a common get_temp routine in the future.
Signed-off-by: Amit Kucheria <amit.kucheria@linaro.org>
Signed-off-by: Eduardo Valentin <edubezval@gmail.com>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions