linux-stable/drivers/thermal/qcom
Amit Kucheria e604bdd2a7 drivers: thermal: tsens: Pass around struct tsens_sensor as a constant
All the sensor data is initialised at init time. Lock it down by passing
it to functions as a constant.

Signed-off-by: Amit Kucheria <amit.kucheria@linaro.org>
Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Reviewed-by: Stephen Boyd <swboyd@chromium.org>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Link: https://lore.kernel.org/r/740f9254484c08d65869df578628eb523c0049ff.1584015867.git.amit.kucheria@linaro.org
2020-03-20 12:17:48 +01:00
..
Kconfig treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
qcom-spmi-temp-alarm.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 284 2019-06-05 17:36:37 +02:00
tsens-8960.c drivers: thermal: tsens: Pass around struct tsens_sensor as a constant 2020-03-20 12:17:48 +01:00
tsens-common.c drivers: thermal: tsens: Pass around struct tsens_sensor as a constant 2020-03-20 12:17:48 +01:00
tsens-v0_1.c drivers: thermal: tsens: De-constify struct tsens_features 2020-03-20 12:17:48 +01:00
tsens-v1.c drivers: thermal: tsens: De-constify struct tsens_features 2020-03-20 12:17:48 +01:00
tsens-v2.c drivers: thermal: tsens: De-constify struct tsens_features 2020-03-20 12:17:48 +01:00
tsens.c drivers: thermal: tsens: Work with old DTBs 2020-01-07 08:22:35 +01:00
tsens.h drivers: thermal: tsens: Pass around struct tsens_sensor as a constant 2020-03-20 12:17:48 +01:00