linux/drivers/thermal/qcom
Amit Kucheria a7ff829761 drivers: thermal: tsens: Merge tsens-common.c into tsens.c
tsens-common.c has outlived its usefuless. It was created expecting lots
of custom routines per version of the TSENS IP. We haven't needed those,
there is now only data in the version-specific files.

Merge the code for tsens-common.c into tsens.c. As a result,
- Remove any unnecessary forward declarations in tsens.h.
- Add a Linaro copyright to tsens.c.
- Fixup the Makefile to remove tsens-common.c.
- Where it made sense, fix some 80-column alignments in the
  tsens-common.c code being copied over.

There is no functional change with this patch.

Signed-off-by: Amit Kucheria <amit.kucheria@linaro.org>
Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Link: https://lore.kernel.org/r/e30e2ba6fa5c007983afd4d7d4e0311c0b57917a.1588183879.git.amit.kucheria@linaro.org
2020-05-22 18:53:04 +02:00
..
Kconfig treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
Makefile drivers: thermal: tsens: Merge tsens-common.c into tsens.c 2020-05-22 18:53:04 +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-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: Add watchdog support 2020-03-20 12:17:48 +01:00
tsens.c drivers: thermal: tsens: Merge tsens-common.c into tsens.c 2020-05-22 18:53:04 +02:00
tsens.h drivers: thermal: tsens: Merge tsens-common.c into tsens.c 2020-05-22 18:53:04 +02:00