summaryrefslogtreecommitdiff
path: root/drivers/thermal/qcom/Makefile
diff options
context:
space:
mode:
authorAmit Kucheria <amit.kucheria@linaro.org>2020-04-29 23:44:17 +0530
committerDaniel Lezcano <daniel.lezcano@linaro.org>2020-05-22 18:53:04 +0200
commita7ff82976122eb6d1fd286dc34f09b6ecd756b60 (patch)
tree3a5cbef98a650533d38a81e6d1101bba06797c65 /drivers/thermal/qcom/Makefile
parent14adf6c83f7c6953a136d9d4beda79004191e729 (diff)
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
Diffstat (limited to 'drivers/thermal/qcom/Makefile')
-rw-r--r--drivers/thermal/qcom/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/thermal/qcom/Makefile b/drivers/thermal/qcom/Makefile
index 7c8dc6e36693..ec86eef7f6a6 100644
--- a/drivers/thermal/qcom/Makefile
+++ b/drivers/thermal/qcom/Makefile
@@ -1,6 +1,6 @@
# SPDX-License-Identifier: GPL-2.0-only
obj-$(CONFIG_QCOM_TSENS) += qcom_tsens.o
-qcom_tsens-y += tsens.o tsens-common.o tsens-v0_1.o \
- tsens-8960.o tsens-v2.o tsens-v1.o
+qcom_tsens-y += tsens.o tsens-v2.o tsens-v1.o tsens-v0_1.o \
+ tsens-8960.o
obj-$(CONFIG_QCOM_SPMI_TEMP_ALARM) += qcom-spmi-temp-alarm.o