Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp5175629imm; Tue, 12 Jun 2018 03:57:54 -0700 (PDT) X-Google-Smtp-Source: ADUXVKKalskKBfNFYXBFf9tJbcNEokBz2G0vVtVFCpHR/z+ZIsLzqGb3aD+xMo7/MSUMdrXARAM4 X-Received: by 2002:a17:902:8497:: with SMTP id c23-v6mr3628789plo.124.1528801074061; Tue, 12 Jun 2018 03:57:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528801074; cv=none; d=google.com; s=arc-20160816; b=Qn7puUQWXoCauPCFDb2VoqxfTRhIklf5wwPHPYmh/Ns4QYUGHPVw48CyWAcX/1phtf nhrVfsAcx9xTqrO7ntfX9xj/vH4BT8k2qb8bF/Di1B7tRmByQUyt7YKhr8vdxq1OkJ4m 9V+4mdbd8o/R9ImtzUQct50SQK0vt2pPDdu9z176TId9m3xyJqA3RAf9VGlttyKBhcHi +1d965p9LVk2qQlI0mwDS8ffLW8zumQ9QCtpS7Ioo5+ckuo0Jr7tXmzPdHebgExkxcOy Ln0FiO+99K7J1odKP5qH8GiJWTv/U7TjDv9Pb1qoyNx8tpMvGuS35TjnS0gWty66X92T mPyA== 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=zNi/ir/WKRp2k12NEcY2I4psdeJRfHTypTFgRgxNbDz95dXCiHMTlAWLrLWEpGc390 Zaujs9WXlcURgB/q18n1z3egzta73xSEJMRarc6OdNUKjlsroenkqjifJ9R9pfY9ER6N TX1+jAGr8i4+UheYa/f1BQr+zWCv7bHMacDQ6ArDmJ2fpWBG0k2dNthojt6UxpprrFMw JIzLV6GOmecXY6gN3hDLGwdM7ufRhvSIJKy6pwaJELEa5y+Yh53NTPHvGS9j2xh0lgEm 7qLWyGQpEr38oDT+ezlXBR1uYYBTrCuNCF5cPz6DaeSn6LtZl9y8gF3z9DkU4gL6Pblf gTHw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Up8T1MT1; 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 a10-v6si688180pln.349.2018.06.12.03.57.40; Tue, 12 Jun 2018 03:57:54 -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=Up8T1MT1; 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 S932675AbeFLKzb (ORCPT + 99 others); Tue, 12 Jun 2018 06:55:31 -0400 Received: from mail-lf0-f66.google.com ([209.85.215.66]:37984 "EHLO mail-lf0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752705AbeFLKz2 (ORCPT ); Tue, 12 Jun 2018 06:55:28 -0400 Received: by mail-lf0-f66.google.com with SMTP id i83-v6so35291621lfh.5 for ; Tue, 12 Jun 2018 03:55:27 -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=Up8T1MT1sRqeYPD7+MHE3gD4Z6QM81LwNESmlHEaknYQXnd8blYYYz7t8W7CFJpS7/ uJxt2MyL1AGg8FpH5M8kBFnfrZgWeHXyI86y4Bdy8dvVjsa9zD69x2CPwmub5KdbUDtA LDGpLZBiVqGN8pc2W/f9OjMvHwRFqwYz3LkO4= 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=MmQBRkW4D0I2AXnV8YWpI1rQqJ0tQnaAO2T5WD60yqFg2xcUZB4GQNfXq7OHM0HINP TxSgIACbSSa8ewwtLDAv/BqhG5396la5o5Iuxj9XBko+nOOKwfoxwXS0hd7IcoiGMltd slMfMx6FHZcYos9JkEgatiyYKLn8hbMHvCCgliBeRICDfI+48ys2Kzmbcc0H7PjEVD3c /QYo4nuUHVyiKjJcqlSC153kKSCsi4QxFiUetxH1xbVAhi2BJWQ2QY41iiepNDFBJ1T2 SAIaWPxBYsKf0M4Hjxnl9u93On/Y0CYCHGDKnAI1gyolfTAqJ1nQpah4tikPRKWB1Reu S6YA== X-Gm-Message-State: APt69E3AC8QLW0J6uV8lt3pJ1yNKn64xiWEO7yWDNBtqHfoTaXVotWwY yEMZN/PwEq3jx5YCD/qCo0zEJcsageU= X-Received: by 2002:a2e:7a0f:: with SMTP id v15-v6mr2170228ljc.68.1528800926644; Tue, 12 Jun 2018 03:55:26 -0700 (PDT) Received: from localhost (85-76-96-64-nat.elisa-mobile.fi. [85.76.96.64]) by smtp.gmail.com with ESMTPSA id c74-v6sm137026lfh.78.2018.06.12.03.55.25 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 12 Jun 2018 03:55:25 -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, Zhang Rui , linux-pm@vger.kernel.org (open list:THERMAL) Subject: [PATCH v2 1/5] thermal: tsens: Get rid of unused fields in structure Date: Tue, 12 Jun 2018 13:54:53 +0300 Message-Id: <940c162eac1e8d948e553899dafa10fdaab9399d.1528799892.git.amit.kucheria@linaro.org> 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