diff options
author | Amit Kucheria <amit.kucheria@linaro.org> | 2019-10-31 21:37:38 +0300 |
---|---|---|
committer | Daniel Lezcano <daniel.lezcano@linaro.org> | 2019-11-07 09:00:26 +0300 |
commit | bd93ee3cb43b6a0ab4a78edd9e26dcda01b3b77e (patch) | |
tree | 730c4c82a665c4ea90fee3a15912b46518574187 /drivers/thermal/qcom/tsens.c | |
parent | a877e768f6552126603b5e88d3ad18c6f7ca2cf7 (diff) | |
download | linux-bd93ee3cb43b6a0ab4a78edd9e26dcda01b3b77e.tar.xz |
drivers: thermal: tsens: Create function to return sign-extended temperature
Hide the details of how to convert values read from TSENS HW to mCelsius
behind a function. All versions of the IP can be supported as a result.
Signed-off-by: Amit Kucheria <amit.kucheria@linaro.org>
Reviewed-by: Stephen Boyd <swboyd@chromium.org>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Link: https://lore.kernel.org/r/0689917475cf83b7e01f6978504fd37352a5e3ca.1572526427.git.amit.kucheria@linaro.org
Diffstat (limited to 'drivers/thermal/qcom/tsens.c')
0 files changed, 0 insertions, 0 deletions