summaryrefslogtreecommitdiffstats
path: root/drivers/thermal/qcom/tsens.h
diff options
context:
space:
mode:
authorEduardo Valentin2019-05-29 03:04:17 +0200
committerEduardo Valentin2019-05-29 04:30:33 +0200
commitca657468a0d4bcc25445f6636485a19a525267bd (patch)
tree6c233d9f148f1692f3daec27ca5451bacb359116 /drivers/thermal/qcom/tsens.h
parentLinux 5.2-rc2 (diff)
downloadkernel-qcow2-linux-ca657468a0d4bcc25445f6636485a19a525267bd.tar.gz
kernel-qcow2-linux-ca657468a0d4bcc25445f6636485a19a525267bd.tar.xz
kernel-qcow2-linux-ca657468a0d4bcc25445f6636485a19a525267bd.zip
Revert "drivers: thermal: tsens: Add new operation to check if a sensor is enabled"
This reverts commit 3e6a8fb3308419129c7a52de6eb42feef5a919a0. Cc: Andy Gross <agross@kernel.org> Cc: David Brown <david.brown@linaro.org> Cc: Amit Kucheria <amit.kucheria@linaro.org> Cc: Zhang Rui <rui.zhang@intel.com> Cc: Daniel Lezcano <daniel.lezcano@linaro.org> Suggested-by: Amit Kucheria <amit.kucheria@linaro.org> Reported-by: Andy Gross <andygro@gmail.com> Signed-off-by: Eduardo Valentin <edubezval@gmail.com>
Diffstat (limited to 'drivers/thermal/qcom/tsens.h')
-rw-r--r--drivers/thermal/qcom/tsens.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/thermal/qcom/tsens.h b/drivers/thermal/qcom/tsens.h
index eefe3844fb4e..2fd94997245b 100644
--- a/drivers/thermal/qcom/tsens.h
+++ b/drivers/thermal/qcom/tsens.h
@@ -315,7 +315,6 @@ void compute_intercept_slope(struct tsens_priv *priv, u32 *pt1, u32 *pt2, u32 mo
int init_common(struct tsens_priv *priv);
int get_temp_tsens_valid(struct tsens_priv *priv, int i, int *temp);
int get_temp_common(struct tsens_priv *priv, int i, int *temp);
-bool is_sensor_enabled(struct tsens_priv *priv, u32 hw_id);
/* TSENS target */
extern const struct tsens_plat_data data_8960;