From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753713AbeFDPDr (ORCPT ); Mon, 4 Jun 2018 11:03:47 -0400 Received: from mail-pl0-f65.google.com ([209.85.160.65]:43658 "EHLO mail-pl0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753722AbeFDPDm (ORCPT ); Mon, 4 Jun 2018 11:03:42 -0400 X-Google-Smtp-Source: ADUXVKL3fCqi0v4mYWzMZc7B46ZbXBayV8yiHLQF4H609U2Ze3XTwClybuCFvImyFSYk6uDQkpImGw== Date: Mon, 4 Jun 2018 08:05:49 -0700 From: Bjorn Andersson To: Amit Kucheria Cc: linux-arm-msm@vger.kernel.org, rnayak@codeaurora.org, edubezval@gmail.com, Zhang Rui , "open list:THERMAL" , open list Subject: Re: [PATCH 2/2] tsens: Get rid of unused fields in structure Message-ID: <20180604150549.GD510@tuxbook-pro> References: <40aa5b9760b09be0970dbe82997db71756927eb0.1527937396.git.amit.kucheria@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <40aa5b9760b09be0970dbe82997db71756927eb0.1527937396.git.amit.kucheria@linaro.org> User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat 02 Jun 04:11 PDT 2018, Amit Kucheria wrote: > status_field and trdy are unused in any of the tsens drivers. Remove them. > > Signed-off-by: Amit Kucheria Reviewed-by: Bjorn Andersson Regards, Bjorn > --- > 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]; > }; > -- > 2.7.4 >