Browse Source

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>
Amit Kucheria 7 năm trước cách đây
mục cha
commit
5834edde91
1 tập tin đã thay đổi với 0 bổ sung2 xóa
  1. 0 2
      drivers/thermal/qcom/tsens.h

+ 0 - 2
drivers/thermal/qcom/tsens.h

@@ -77,9 +77,7 @@ struct tsens_device {
 	struct device			*dev;
 	struct device			*dev;
 	u32				num_sensors;
 	u32				num_sensors;
 	struct regmap			*map;
 	struct regmap			*map;
-	struct regmap_field		*status_field;
 	struct tsens_context		ctx;
 	struct tsens_context		ctx;
-	bool				trdy;
 	const struct tsens_ops		*ops;
 	const struct tsens_ops		*ops;
 	struct tsens_sensor		sensor[0];
 	struct tsens_sensor		sensor[0];
 };
 };