drivers: thermal: tsens: Move get_temp_tsens_v2 to allow sharing
authorAmit Kucheria <amit.kucheria@linaro.org>
Wed, 20 Mar 2019 13:17:57 +0000 (18:47 +0530)
committerEduardo Valentin <edubezval@gmail.com>
Tue, 14 May 2019 13:59:21 +0000 (06:59 -0700)
commitc8b6169093f66e9bae6eb5157ccc4ad426402caf
treea52a297a59b72ed5330673a74969454d8078d3b1
parentdbdaa582e4ee38c9e2c2d500ebb102a350b7e1fc
drivers: thermal: tsens: Move get_temp_tsens_v2 to allow sharing

Just rename the function and move it to allow code sharing with future
versions of TSENS IP

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