Commit 5834edde authored by Amit Kucheria's avatar Amit Kucheria Committed by Eduardo Valentin

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: default avatarAmit Kucheria <amit.kucheria@linaro.org>
Reviewed-by: default avatarBjorn Andersson <bjorn.andersson@linaro.org>
Acked-by: default avatarRajendra Nayak <rnayak@codeaurora.org>
Tested-by: default avatarMatthias Kaehlcke <mka@chromium.org>
Signed-off-by: default avatarEduardo Valentin <edubezval@gmail.com>
parent f6b6b52e
...@@ -77,9 +77,7 @@ struct tsens_device { ...@@ -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];
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment