From patchwork Tue Jun 12 10:54:53 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Amit Kucheria X-Patchwork-Id: 138306 Delivered-To: patch@linaro.org Received: by 2002:a2e:970d:0:0:0:0:0 with SMTP id r13-v6csp5189870lji; Tue, 12 Jun 2018 03:55:34 -0700 (PDT) X-Google-Smtp-Source: ADUXVKLMeeON9hHBJlZqsavBBv4jXx83iDfeFjbG/GcxpdJT26TI89Cf8BpovHtBZgfK1nU8ZETt X-Received: by 2002:a17:902:4545:: with SMTP id m63-v6mr3584163pld.268.1528800934050; Tue, 12 Jun 2018 03:55:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528800934; cv=none; d=google.com; s=arc-20160816; b=DxtwyYMtgQq1zxrYcI6bqhOjoFTwChxkfK10BiWPh00Cp1ZJsIuF/PUFiXhZ8zASEv qIPm3nl5dxfcO7NrnBQJokSzKGjNwCXn9bDdkdLUXafaH2pB6ujgbBTQBmJNJlqQhid1 lU3EnNyRqr1J15kl892otgXCzw9/xRryj+rsFegCOFsow5sJznW7BdUTPjiHyWUh+urc NkHpAmckWgnsLXmbJyJuB85l5UE0oUo34v0qy7ULucndyaYvGqQTJnr8EGrjnSm13Sqt gjA294kJCvCrdxqcduiQiKmxSNTPOPnpkbRb5TuqcQ8/h+O4RgItBK+2pp58qHAF42Xl Neqg== 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 n6-v6si490650pga.622.2018.06.12.03.55.33; Tue, 12 Jun 2018 03:55:34 -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 S932743AbeFLKzb (ORCPT + 30 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(-) -- 2.7.4 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]; };