thermal: tsens: Get rid of unused fields in structure
authorAmit Kucheria <amit.kucheria@linaro.org>
Wed, 18 Jul 2018 06:43:07 +0000 (12:13 +0530)
committerEduardo Valentin <edubezval@gmail.com>
Fri, 27 Jul 2018 21:45:35 +0000 (14:45 -0700)
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>
drivers/thermal/qcom/tsens.h

index 911c1978892b3bf6797cf707f3d523ea9c50a628..dc56e1e2a19eaea108456e8bd5e432ab871840d6 100644 (file)
@@ -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];
 };