diff options
author | Amit Kucheria <amit.kucheria@linaro.org> | 2018-07-18 12:13:07 +0530 |
---|---|---|
committer | Eduardo Valentin <edubezval@gmail.com> | 2018-07-27 14:45:35 -0700 |
commit | 5834edde914b042faedb9179386335927315767b (patch) | |
tree | 1371f67df6b95da22057ec667e5db99ffd992e92 | |
parent | f6b6b52ef7a54160c0a4d2b56a58f84a2e5b33c5 (diff) | |
download | linux-stable-5834edde914b042faedb9179386335927315767b.tar.gz linux-stable-5834edde914b042faedb9179386335927315767b.tar.bz2 linux-stable-5834edde914b042faedb9179386335927315767b.zip |
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 { struct device *dev; u32 num_sensors; struct regmap *map; - struct regmap_field *status_field; struct tsens_context ctx; - bool trdy; const struct tsens_ops *ops; struct tsens_sensor sensor[0]; }; |