Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp3792424imm; Mon, 2 Jul 2018 05:47:28 -0700 (PDT) X-Google-Smtp-Source: ADUXVKKBirKnUyKxGAV2VKXR8vqCVbYR8FrhZhhEYOXPgwIIlh2mDjqtQXQt6qhLIwN6m96CXXK7 X-Received: by 2002:a65:6008:: with SMTP id m8-v6mr21885676pgu.134.1530535648266; Mon, 02 Jul 2018 05:47:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530535648; cv=none; d=google.com; s=arc-20160816; b=ErgHdm+IpFpI//TIi/2LeqbyfsRd8AuGAL77bjMkjbWsxKslxtI1DZpZnVKJevMUcx lpyep6c75SG2YQtYftSaLONh8unlk0PSC9zyv/s/pdJKrf2r3SP8g9ZaGd/M3u5//cEv SsDEVNGN9u3wrCs3cafgaN4/4LPbyHyaLL3CxhhrZk8jEcJi49yxg2IWUrfCqjULIkgF tCxazO7mhXgYMjBBxp0zbFsti/4ZC19pptPednLZv7XG5LH0nmNCBVmsH8lEwFxUern5 t1TI6ezR/IlIyqraaouK2mK2x+XCsCKdEDro0jVYi94NQXSqVr4h+tPL3dUINnY5kjzQ AWfg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:references :in-reply-to:message-id:date:subject:cc:to:from:dkim-signature :arc-authentication-results; bh=RqHvCXWgQNEn4X6AU/ZqYttyBtBVtMakbjX0moav5Ps=; b=uX+gIJKnlLhAITYjW6KtnKJBSI+OxX/SbFy57JpP2WQR3d4CQdoWKRfYYMGzuyKKFJ m47YKGShBWQ43eByUakb8nP4dZJzYLluaBXR3IxzHrAXEBA70SF7gX+0ZcpkYZvGTd9H FyVzzrg+B7E/4neqLyL2Y/QuyXGlfVk0PIj/YhDSZKI82ZapE3yXCqV3EJmKqpPti1AP MZK6mm/2r8R2/2hiMoKNRKe6k6MBneU261AyHGavfFVUekDK2S2FEcxXToBIrqPyfvTM M80Ho6/30YHGJj20WSFZ1nrbu0/L0EMH9WfS3mTFLoRvxVHFbj0o1BRflPA7+3Cnw9v4 1wWw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=URs0cOrY; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 5-v6si802591pgp.439.2018.07.02.05.47.13; Mon, 02 Jul 2018 05:47:28 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=URs0cOrY; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753025AbeGBMol (ORCPT + 99 others); Mon, 2 Jul 2018 08:44:41 -0400 Received: from mail-pl0-f68.google.com ([209.85.160.68]:42140 "EHLO mail-pl0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752942AbeGBMoe (ORCPT ); Mon, 2 Jul 2018 08:44:34 -0400 Received: by mail-pl0-f68.google.com with SMTP id y15-v6so6041250pll.9 for ; Mon, 02 Jul 2018 05:44:34 -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=ebYlxMWPrKXY1UlW/1O68qVbBkFncQ2XnTIfpG5ljxh1E17xlKApAUC27JO8K0CA86 sxS1kdYtiDkhHilpU3PbDXBBlGXc2KMbrKmJ7/J4K8gUA3YqW0GcsDyVQ4estgp4aDFy omQWc2HM2bmphPzxCJyqmqe3GskqZmuIasEYr+beDv08CSHeJvuq1bLs6pO/kIaVuuH0 ZPgy6nsWSq+P97WQwnerzWvNQ471bLqs5jQJGYSVTmT9SSyB7g+YsgpfB949qGkw8HYH Lu8hgXaSAg+/Lk4ee0CMTMgIlNWllCTwKLYQaLtTwOpJdjG0knHYwAB+2q0eP/0uQZdo kC8A== X-Gm-Message-State: APt69E23X1LTWXKpOw4Q9p+G1sF0lCcok2aBGWXgU1NPVOowEj7AtAWO Fmss6gwch5hq79DHmyF0jq8gyfUvpOY= 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-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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]; }; -- 2.7.4