diff mbox series

[v4,1/6] thermal: tsens: Get rid of unused fields in structure

Message ID a55492279160077e59fcc1e29b2c3b6d9d0f822f.1530533998.git.amit.kucheria@linaro.org
State Superseded
Headers show
Series thermal: tsens: Refactoring for TSENSv2 IP | expand

Commit Message

Amit Kucheria July 2, 2018, 12:44 p.m. UTC
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>

---
 drivers/thermal/qcom/tsens.h | 2 --
 1 file changed, 2 deletions(-)

-- 
2.7.4

--
To unsubscribe from this list: send the line "unsubscribe linux-arm-msm" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox series

Patch

diff --git a/drivers/thermal/qcom/tsens.h b/drivers/thermal/qcom/tsens.h
index 911c197..dc56e1e 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];
 };