From patchwork Mon Jul 2 12:44:04 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Amit Kucheria X-Patchwork-Id: 10501317 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 ABD626035E for ; Mon, 2 Jul 2018 12:46:53 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9A11A2859F for ; Mon, 2 Jul 2018 12:46:53 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 8B54C285AB; Mon, 2 Jul 2018 12:46:53 +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=unavailable 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 43B932859F for ; Mon, 2 Jul 2018 12:46:53 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752970AbeGBMok (ORCPT ); Mon, 2 Jul 2018 08:44:40 -0400 Received: from mail-pl0-f65.google.com ([209.85.160.65]:38858 "EHLO mail-pl0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752945AbeGBMoe (ORCPT ); Mon, 2 Jul 2018 08:44:34 -0400 Received: by mail-pl0-f65.google.com with SMTP id d10-v6so7911176plo.5 for ; Mon, 02 Jul 2018 05:44:33 -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=RqHvCXWgQNEn4X6AU/ZqYttyBtBVtMakbjX0moav5Ps=; b=URs0cOrYlP4BOAYTacOb341ahNRD+O96SbDO+rBDo9it/c7v3pLydiIQo3adVWu1Jh dPcX/HQIc1QhXtpJTqRuq3ytFbLGHIDhCxytbGJPnyIir4HUyT9Nc+HFScs1lThmf6ZU nZ9ukc9w/slVHpl9yfmI/QqQ2tW+KqWgNYBwk= 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=RqHvCXWgQNEn4X6AU/ZqYttyBtBVtMakbjX0moav5Ps=; b=oEDFLAM6ErviePnBoQX9rOHNTGIyB+sA9hHyLaFlbItkTJ7wcY+zj510kgRRMEHS4O XJc7OPV6JqzXoYE3rxLE5TY6lxVP9BOI+pP3te7yPDWroKyv91W7sl6tqw9XgDcnnhNT 8FdKCtvNmWVOwcxW0RFE3xyOwldW0KFG/FzpW7EuuWETKAdwAiefesUKcsa9tpPcUZR9 l/D0w/NMDobsEaaQFgliv80W8IQ/ofHejPkuQCJlrpbRgY2rus2Txx80CkXwLgycGbKK uFpwT465HE354p4Pv9sKKyUxyPb/UdX4jJWRCk/AwXh06RTtl5y9QPq3dFDs0J3MuIHV icDQ== X-Gm-Message-State: APt69E0TK1DzKSUtddbtosohlrVKhWFmv7Jb+bl0QocMd5WcL8Kqvd0Q 9bd4VqcISjIRTr4WCD1cs03gPQ== X-Google-Smtp-Source: AAOMgpcr4QPHPXz0rC0f7/K93B9aK9D3F0WqgEr0RWHGi+fgrOJsJpsOh9Cl0VQf1/AeZaiAsi8hNA== X-Received: by 2002:a17:902:8f83:: with SMTP id z3-v6mr904635plo.111.1530535473517; Mon, 02 Jul 2018 05:44:33 -0700 (PDT) Received: from localhost ([49.248.63.129]) by smtp.gmail.com with ESMTPSA id m6-v6sm9301042pfh.153.2018.07.02.05.44.32 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 02 Jul 2018 05:44:32 -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, Zhang Rui , linux-pm@vger.kernel.org Subject: [PATCH v4 1/6] thermal: tsens: Get rid of unused fields in structure Date: Mon, 2 Jul 2018 18:14:04 +0530 Message-Id: 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 --- 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]; };