From: Amit Kucheria Date: Wed, 18 Jul 2018 06:43:07 +0000 (+0530) Subject: thermal: tsens: Get rid of unused fields in structure X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=5834edde914b042faedb9179386335927315767b;p=linux.git 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 Reviewed-by: Bjorn Andersson Acked-by: Rajendra Nayak Tested-by: Matthias Kaehlcke Signed-off-by: Eduardo Valentin --- diff --git a/drivers/thermal/qcom/tsens.h b/drivers/thermal/qcom/tsens.h index 911c1978892b3..dc56e1e2a19ea 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]; };