linux_dsm_epyc7002/drivers/thermal/qcom
Amit Kucheria c1c6f3b39c drivers: thermal: tsens: use simpler variables
We already dereference the sensor and save it into a variable. Use the
variable directly to make the code easier to read.

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/5dc4356edfb8dffa377fb561359bf41a6f1fdf17.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: use simpler variables 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