diff options
author | Amit Kucheria <amit.kucheria@linaro.org> | 2018-07-18 02:43:07 -0400 |
---|---|---|
committer | Eduardo Valentin <edubezval@gmail.com> | 2018-07-27 17:45:35 -0400 |
commit | 5834edde914b042faedb9179386335927315767b (patch) | |
tree | 1371f67df6b95da22057ec667e5db99ffd992e92 | |
parent | f6b6b52ef7a54160c0a4d2b56a58f84a2e5b33c5 (diff) |
thermal: tsens: Get rid of unused fields in structure
status_field and trdy are unused in any of the tsens drivers. Remove them.
Signed-off-by: Amit Kucheria <amit.kucheria@linaro.org>
Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Acked-by: Rajendra Nayak <rnayak@codeaurora.org>
Tested-by: Matthias Kaehlcke <mka@chromium.org>
Signed-off-by: Eduardo Valentin <edubezval@gmail.com>
-rw-r--r-- | drivers/thermal/qcom/tsens.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/thermal/qcom/tsens.h b/drivers/thermal/qcom/tsens.h index 911c1978892b..dc56e1e2a19e 100644 --- a/drivers/thermal/qcom/tsens.h +++ b/drivers/thermal/qcom/tsens.h | |||
@@ -77,9 +77,7 @@ struct tsens_device { | |||
77 | struct device *dev; | 77 | struct device *dev; |
78 | u32 num_sensors; | 78 | u32 num_sensors; |
79 | struct regmap *map; | 79 | struct regmap *map; |
80 | struct regmap_field *status_field; | ||
81 | struct tsens_context ctx; | 80 | struct tsens_context ctx; |
82 | bool trdy; | ||
83 | const struct tsens_ops *ops; | 81 | const struct tsens_ops *ops; |
84 | struct tsens_sensor sensor[0]; | 82 | struct tsens_sensor sensor[0]; |
85 | }; | 83 | }; |