diff options
author | Amit Kucheria <amit.kucheria@linaro.org> | 2018-07-18 09:43:07 +0300 |
---|---|---|
committer | Eduardo Valentin <edubezval@gmail.com> | 2018-07-28 00:45:35 +0300 |
commit | 5834edde914b042faedb9179386335927315767b (patch) | |
tree | 1371f67df6b95da22057ec667e5db99ffd992e92 /drivers/thermal/qcom/tsens.h | |
parent | f6b6b52ef7a54160c0a4d2b56a58f84a2e5b33c5 (diff) | |
download | linux-5834edde914b042faedb9179386335927315767b.tar.xz |
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>
Diffstat (limited to 'drivers/thermal/qcom/tsens.h')
-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]; }; |