lkml.org 
[lkml]   [2018]   [Jun]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    SubjectRe: [PATCH 2/2] tsens: Get rid of unused fields in structure
    From
    Date


    On 06/02/2018 04:41 PM, Amit Kucheria wrote:
    > status_field and trdy are unused in any of the tsens drivers. Remove them.
    >
    > Signed-off-by: Amit Kucheria <amit.kucheria@linaro.org>

    Acked-by: Rajendra Nayak <rnayak@codeaurora.org>

    > ---
    > drivers/thermal/qcom/tsens.h | 2 --
    > 1 file changed, 2 deletions(-)
    >
    > diff --git a/drivers/thermal/qcom/tsens.h b/drivers/thermal/qcom/tsens.h
    > index f15660d..77ed8dc 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];
    > };
    >

    --
    Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
    hosted by The Linux Foundation

    \
     
     \ /
      Last update: 2018-06-04 06:27    [W:4.367 / U:0.328 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site