Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp1435368imm; Thu, 12 Jul 2018 01:40:49 -0700 (PDT) X-Google-Smtp-Source: AAOMgpcjmRB5awDQI1en90+iPBEorZ6mg54xdsO3n3fl0o7DHUzNiC15s2cC4TSvne7aP937Df8S X-Received: by 2002:a63:89c7:: with SMTP id v190-v6mr1230650pgd.194.1531384848953; Thu, 12 Jul 2018 01:40:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531384848; cv=none; d=google.com; s=arc-20160816; b=K4FjAcvQT5PKLyxcIkaHRKPOR4yK6q+mNv5ADMgTDDmmqoBUjXZCbW5onFgj4tSYWz Ms2XtMIVwZEFmwyrXJTHVqPXuSUF4InwI1WwjsAwGhKHMqP8wiBj1qSBsEz1kYSiWUvh Voq8JPPzWiv6Y7N9g8xjAELUENEMbaWRuqPgn6/NiKXJVW5OmRXYFS7NYP1rSWigJWWZ dFrJHGPfX570LOF61E/ejMM/cONqjUNqNnXi30f1RFYMElrTlNzjb8Tx+fgcrNBa9MFu wMWiHeSiIcZ2aylFvrZNSCYhukabFEDjN7qA+v0hJquxA+L44RR35rdC5zlo4XcjSaaF yE9w== 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=4oDCvpizcqb4/i72AEYMNJaEhphPFSx5aHBq53Ho/iA=; b=hFCnz4HpMzS6Qjzt8KJ1sD55fU4+pY1UTh4BAQ1njHzbxz5PuAzjSUSDHUKSVtEUkr JZI0g3M0LxJMGka/GJsmHQUpG/QZ3YeVyZ3TpMGHMC62T/RWR+z03yp/tXq/pwgOvE13 wzIv45S3nfbwrMBPo9jWOqBojg76YigSowaK2NUqwwTM3GeZf9k+Hbrrm0CLoUvPUiRC nafOPGLx0I2jPs98SUlf09Frh52+s9qB+BujLYNY6m6t+vbE9urBM1NU3nxxa8DbfcHW wgBBrIvRFnsmDMJulSLCUeis7txIBNOCWgH6K+lAyK4/xb/flqu/zoBjvuL8mqURb2Em TkAg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=a3OWoL4V; 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 f32-v6si21589616pgb.506.2018.07.12.01.40.33; Thu, 12 Jul 2018 01:40:48 -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=a3OWoL4V; 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 S1732408AbeGLIsR (ORCPT + 99 others); Thu, 12 Jul 2018 04:48:17 -0400 Received: from mail-wr1-f65.google.com ([209.85.221.65]:38275 "EHLO mail-wr1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727181AbeGLIsR (ORCPT ); Thu, 12 Jul 2018 04:48:17 -0400 Received: by mail-wr1-f65.google.com with SMTP id m1-v6so8072136wrg.5 for ; Thu, 12 Jul 2018 01:39:42 -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=a3OWoL4Vp80GEEuiDKAcU/ezGaF6QUXrPPqun6YOEM430ATQ/tv6xlqMWYN3C8kLVy sc5M+Ai2YZDqebh5I3O1+kU1zQw52Hy8Ui1nUaiEhvTxGvri4U/YivldyJ5MVvMasv01 dH15X6u//xcTAQKZPItMYBCW0a+adlAg+PSV4= 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=RCcG1Sfg5dM992HiIdS630yLRyw9x56+nhJzbo14Wr27bgKzQ+z42OYsVLxvZRljwy GZHAesVy4fAxXFpACYp6p6xbEPj14T/fL8PaWULC9NaIGb7Maxye0DNltOARprtw4cUB lguDZfb6Avx4lT63nYjwnC/uuqX/BIPE3zJzw30i/xVRt4WzkHuyH/6WifzImBr7pu/j ovWOa8hQ+u6NVNP3lBh5ZEHTvNaOxDkksniARME3a9t5EOWwnNnEwpP8n57/zv94h21D NHy1bFGNlLXGfpWIJQbAr7PtCMHjc6oHvTJbCFSNy4LKoJtCL5yG1eG7dtSJKi+9ggpz zxtA== X-Gm-Message-State: AOUpUlEc+ovlVtqau2v2aC3nqM0jGuOiWxd7spjU+xPqjNcCDQnezc5W LeDoNp1jNHJ986B+S2oJP6GnXsKNTG8= X-Received: by 2002:adf:c554:: with SMTP id s20-v6mr1048205wrf.46.1531384781236; Thu, 12 Jul 2018 01:39:41 -0700 (PDT) Received: from localhost ([103.249.91.93]) by smtp.gmail.com with ESMTPSA id q8-v6sm7631341wmb.3.2018.07.12.01.39.39 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 12 Jul 2018 01:39:40 -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 v7 1/7] thermal: tsens: Get rid of unused fields in structure Date: Thu, 12 Jul 2018 14:09:02 +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 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]; }; -- 2.7.4