drivers: thermal: tsens: Common get_temp() learns to do ADC conversion
authorAmit Kucheria <amit.kucheria@linaro.org>
Wed, 20 Mar 2019 13:17:58 +0000 (18:47 +0530)
committerEduardo Valentin <edubezval@gmail.com>
Tue, 14 May 2019 13:59:22 +0000 (06:59 -0700)
commit14bbe98811209f3fb3f8143285ddcf1f6108aae4
treec34c95e063155ce72b39b5450859fe75a658576a
parentc8b6169093f66e9bae6eb5157ccc4ad426402caf
drivers: thermal: tsens: Common get_temp() learns to do ADC conversion

get_temp() learns to return temperature regardless of whether it is
returned as ADC code or direct temperature.

Signed-off-by: Amit Kucheria <amit.kucheria@linaro.org>
Signed-off-by: Eduardo Valentin <edubezval@gmail.com>
drivers/thermal/qcom/tsens-common.c