thermal: tsens: Rename tsens-8996 to tsens-v2 for reuse
authorAmit Kucheria <amit.kucheria@linaro.org>
Wed, 18 Jul 2018 06:43:11 +0000 (12:13 +0530)
committerEduardo Valentin <edubezval@gmail.com>
Fri, 27 Jul 2018 22:08:10 +0000 (15:08 -0700)
commit770324a4bf2ffbcab5692d473c3f3f0e36b5a289
tree10b39bae2955e701a92a2cc70500e7bc0ed970b1
parent5b1283984fa39933e094d237387ad8fd39527fc1
thermal: tsens: Rename tsens-8996 to tsens-v2 for reuse

The TSENS block inside the 8996 is internally classified as version 2 of
the IP. Several other SoC families use this block and can share this code.

We rename get_temp() to reflect that it can be used across the v2 family.

Signed-off-by: Amit Kucheria <amit.kucheria@linaro.org>
Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Tested-by: Matthias Kaehlcke <mka@chromium.org>
Reviewed-by: Matthias Kaehlcke <mka@chromium.org>
Reviewed-by: Douglas Anderson <dianders@chromium.org>
Signed-off-by: Eduardo Valentin <edubezval@gmail.com>
drivers/thermal/qcom/Makefile
drivers/thermal/qcom/tsens-8996.c [deleted file]
drivers/thermal/qcom/tsens-v2.c [new file with mode: 0644]