From patchwork Sat Jun 2 11:11:13 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Amit Kucheria X-Patchwork-Id: 137585 Delivered-To: patch@linaro.org Received: by 2002:a2e:9706:0:0:0:0:0 with SMTP id r6-v6csp2034014lji; Sat, 2 Jun 2018 04:11:53 -0700 (PDT) X-Google-Smtp-Source: ADUXVKIY9sr6VYkRYjmUTlhSWzOWlP2sOwU2oTONg3GQVhMVD9iL7JY18Q/w1Lz+8QAi+vrj0pZE X-Received: by 2002:a65:5288:: with SMTP id y8-v6mr11716534pgp.69.1527937913017; Sat, 02 Jun 2018 04:11:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527937913; cv=none; d=google.com; s=arc-20160816; b=rZZM2aHICYbTW7RlgQedV2xXizWc+Bir6eMiT+CQsaw16Gc2Qc/o1/kT35G7syF+p9 4zKWGpBR8nBt/i7ltVOEIAta/G/RNP9p6FEsajcr0qAY+K/OqDJWthHY5XrKUx1a1S2J wBDcF+hn12pLKhyb9qEg6lf7lVg82e9zWXT1iNWVlAhmemDpy/NBXDaWNqLsH/rilhjm 07Bz9yWBzBCDt5lqgsarkyo21z6DLgfrDlw4AuGKIMyO8qe78+J3K9Niche3KCwEclVJ keu6+tf1gJKo9aqcJpCOI7gb9W/fGdyohjE49lAQKMcwarNQvq+ZvRvBqP2OTJzkA5qE eIWg== 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=Wn3fG2g2MKCUAltxkuUeu+/u8MF4PYYZP8PeTKHaVdc=; b=GQa46yUTLUNXSNVlyps/Zm315KlcUxEbPHR4Nnuuv+SohxfaKF8zeicS8r3tH61fIU DwWJjOMSF8S++onjIkfJRFcOnm6d2TMKx4O/AAhj/+kD7n2Ys65gCt/Wj3GUaRe8Z6Ha VNCGZr3qupDq7EZG8Yh2aWGyYqNy3NzXJlj4G0vYU+gKX6ksjMEPHa1ApIS3lqvjNE3e LonD+2k6u/2hR382Svb/ukoUI38TmyGHHPMtMQM/0yyIRVwS3Cch6eWN8QfuKppUw1WG z3MWeFW7SfWUKsyvCfs9xPFVva696eOLMKOKdStFFzH7GIXQLkniro+TXdToUNFKA29A agHg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=MLQmkhYK; 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 b7-v6si11248362pgq.564.2018.06.02.04.11.52; Sat, 02 Jun 2018 04:11:53 -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=MLQmkhYK; 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 S1751925AbeFBLLv (ORCPT + 30 others); Sat, 2 Jun 2018 07:11:51 -0400 Received: from mail-lf0-f66.google.com ([209.85.215.66]:34678 "EHLO mail-lf0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751837AbeFBLLq (ORCPT ); Sat, 2 Jun 2018 07:11:46 -0400 Received: by mail-lf0-f66.google.com with SMTP id o9-v6so18415781lfk.1 for ; Sat, 02 Jun 2018 04:11:45 -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=Wn3fG2g2MKCUAltxkuUeu+/u8MF4PYYZP8PeTKHaVdc=; b=MLQmkhYK+8at4UIB1umdNkyKtzq2rRvH4JLjOK9hKOLbS9eLz8vrrd6C+87DktH8zn EirXAXR6jFUYzdK3CaPnctjPz0UF5aMj1p1rXf4ucw20kmjgZBBEJ4eIXz/16OrObl7p AlPfyOu8tw2pfl4ZiGm4GMFAOFLvXEKhq8T7A= 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=Wn3fG2g2MKCUAltxkuUeu+/u8MF4PYYZP8PeTKHaVdc=; b=VGZmk07eQMSpTBgkLFuWXdfuycwAOfgJwPuv/Le12M+195hJc54kEUqpZoMDt8ydWO nv1zDn6nkQHcCI5e2AnAdDQfJSUybKaMBkBzcwcqZ7txNHbBN1PNDWKx1oqMUVEUwAKO SPaGJAf9ruOZ0/fQL+ltBmRBW6pU2WMRXxFjatnEsgcp4PCvndkkWsVRckkv8YXCJqUq dXt30BO7Da5LMbrhTNE4OvH0+Tq1B7zPCPFjDJAbjz5Z5W2DQywtpxt+uu2AkHOW2QHj XrA71rgFvXrmu5xuzGDLbECsybsVzFqXzv4SbsSehT/QOFO5kjvQHzQLhC7aihbw4haW lUjQ== X-Gm-Message-State: ALKqPwdqnF/7ohdxEQR00W73uu07HdHMvmxzP2KB9UkiJYzB5xfuqUPs y3x1kbQXAUiqVKIQA3mwMx6VOg== X-Received: by 2002:a19:1099:: with SMTP id 25-v6mr8453978lfq.112.1527937904705; Sat, 02 Jun 2018 04:11:44 -0700 (PDT) Received: from localhost (88-113-68-225.elisa-laajakaista.fi. [88.113.68.225]) by smtp.gmail.com with ESMTPSA id o68-v6sm2318457lfc.85.2018.06.02.04.11.43 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 02 Jun 2018 04:11:44 -0700 (PDT) From: Amit Kucheria To: linux-arm-msm@vger.kernel.org Cc: rnayak@codeaurora.org, bjorn.andersson@linaro.org, edubezval@gmail.com, Zhang Rui , linux-pm@vger.kernel.org (open list:THERMAL), linux-kernel@vger.kernel.org (open list) Subject: [PATCH 2/2] tsens: Get rid of unused fields in structure Date: Sat, 2 Jun 2018 14:11:13 +0300 Message-Id: <40aa5b9760b09be0970dbe82997db71756927eb0.1527937396.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 --- drivers/thermal/qcom/tsens.h | 2 -- 1 file changed, 2 deletions(-) -- 2.7.4 Reviewed-by: Bjorn Andersson diff --git a/drivers/thermal/qcom/tsens.h b/drivers/thermal/qcom/tsens.h index f15660d..77ed8dc 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]; };