From patchwork Wed Jul 18 06:43:07 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Amit Kucheria X-Patchwork-Id: 10531343 X-Patchwork-Delegate: eduardo.valentin@ti.com Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id A84B4601D2 for ; Wed, 18 Jul 2018 06:43:45 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 971901FF83 for ; Wed, 18 Jul 2018 06:43:45 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 8ACA3205F6; Wed, 18 Jul 2018 06:43:45 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 3DC1B1FF83 for ; Wed, 18 Jul 2018 06:43:45 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728103AbeGRHUC (ORCPT ); Wed, 18 Jul 2018 03:20:02 -0400 Received: from mail-wr1-f67.google.com ([209.85.221.67]:39445 "EHLO mail-wr1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726969AbeGRHUC (ORCPT ); Wed, 18 Jul 2018 03:20:02 -0400 Received: by mail-wr1-f67.google.com with SMTP id h10-v6so3422532wre.6 for ; Tue, 17 Jul 2018 23:43:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :in-reply-to:references; bh=4oDCvpizcqb4/i72AEYMNJaEhphPFSx5aHBq53Ho/iA=; b=X1wYElMjmFFVBIYhnF7TLSBDWkYYSU6NiObba5XVecgkEWylovwt0I8cX1pfFxrGeL 8QdFNOz/JrEkJeDaSswui7prpExaAtgg0Kq2WP9g9vgtoLpQjUmeFy5BLv0tlzBrniZH H01jcO/5eL22yYG5HcgTxZ8RLX7I/a8H/+OUc= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:in-reply-to:references; bh=4oDCvpizcqb4/i72AEYMNJaEhphPFSx5aHBq53Ho/iA=; b=SU63p0pS6MrXSvbspyrSKET8QDEl8ZVejlVxcctftq0UJsadgQ5CFwWcjfd9l/S2DV 4wo6+Ctv+ofSFn0hmJrBj0yghbgu0565EDcneRk/gQKIosDSUVWX161FgjHafa0SPwrN NEl2QqpyTPnCoppmrlEjSOTvj9LrE3kQ/sH298FvwQmjuMn/F6rzVNwE/o4klFoL3FLI GjRs0oDtylHLSiPU/pW66+vpY2IFn61th7xogRkaRLn5f90Sphycco/bXPOnO0+0/+Ss iUdNQRCKCoxDzDVlAYjrwJwjxNOe7lk1YfxnpDkZZwIWZmWJlx4hATnBdNGeoyLcZxTJ egAQ== X-Gm-Message-State: AOUpUlEPF1o1HTq2+7xaN4zs2f4KprV80NyZ17qJWlb2yQfm3oFyC5Fc utjn0UunUNtZRAa48WVGBZKhbQ== X-Google-Smtp-Source: AAOMgpfMiLOTQcS+5ke9s+tL6hsTkO7ky9sAkOOIOsQOYtnf4/Ccc8Db46TgBY/zvRYYclDC2uw9gg== X-Received: by 2002:adf:f410:: with SMTP id g16-v6mr3395500wro.256.1531896222866; Tue, 17 Jul 2018 23:43:42 -0700 (PDT) Received: from localhost ([103.249.91.115]) by smtp.gmail.com with ESMTPSA id r140-v6sm1365330wmd.27.2018.07.17.23.43.40 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 17 Jul 2018 23:43:42 -0700 (PDT) From: Amit Kucheria To: linux-kernel@vger.kernel.org Cc: rnayak@codeaurora.org, linux-arm-msm@vger.kernel.org, bjorn.andersson@linaro.org, edubezval@gmail.com, smohanad@codeaurora.org, vivek.gautam@codeaurora.org, andy.gross@linaro.org, dianders@chromium.org, mka@chromium.org, Zhang Rui , linux-pm@vger.kernel.org Subject: [PATCH v8 1/7] thermal: tsens: Get rid of unused fields in structure Date: Wed, 18 Jul 2018 12:13:07 +0530 Message-Id: <37bbc8c5c464bbc8d610c85bccaf449e5670497b.1531895128.git.amit.kucheria@linaro.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: References: In-Reply-To: References: Sender: linux-pm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 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 --- 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 911c197..dc56e1e 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]; };