aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAmit Kucheria <[email protected]>2018-07-18 12:13:07 +0530
committerEduardo Valentin <[email protected]>2018-07-27 14:45:35 -0700
commit5834edde914b042faedb9179386335927315767b (patch)
tree1371f67df6b95da22057ec667e5db99ffd992e92
parentf6b6b52ef7a54160c0a4d2b56a58f84a2e5b33c5 (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 <[email protected]> Reviewed-by: Bjorn Andersson <[email protected]> Acked-by: Rajendra Nayak <[email protected]> Tested-by: Matthias Kaehlcke <[email protected]> Signed-off-by: Eduardo Valentin <[email protected]>
-rw-r--r--drivers/thermal/qcom/tsens.h2
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];
};