Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp1574052imm; Sat, 2 Jun 2018 04:12:38 -0700 (PDT) X-Google-Smtp-Source: ADUXVKJdZ12DJg0SGe41g57nTsv256qjYxfABnf3WMqQ3XcWeyVZfaXvEhSTEt07yDQb06NV2RBU X-Received: by 2002:a63:7247:: with SMTP id c7-v6mr11677629pgn.68.1527937958836; Sat, 02 Jun 2018 04:12:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527937958; cv=none; d=google.com; s=arc-20160816; b=eeoVzrqCY8Yu+OdbyJsXhJcl/tvnSjej8Di+KDWLYrEFJMccG6gDOxfU7zyPce9FVF 2jKT4BYqTGwwFuQHXG6i47j5tUO+/k77uyGeHO4m301uE2gwtoH7pfSdykZI6A96YYx7 2+2YptjwBBSK6G2RgQE3OivoM3vYQK7YQQCK/QA31K/vzOI6oyezhOIdnEDrKYl71ntH OoyiqA8aO9rdPTNt0yP8CSAl0Mp/+23VNogP7PB2PMywHutW8hIsCHS5BatJpi4vIJdd 5L1u26W/jUleY00AafBeiTjROAxaed/gSWDw9XdKv4HwnjcW1Ge8SR4I0OunM6Bm07qr YyXQ== 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 r59-v6si41071399plb.314.2018.06.02.04.12.24; Sat, 02 Jun 2018 04:12:38 -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 S1751915AbeFBLLu (ORCPT + 99 others); Sat, 2 Jun 2018 07:11:50 -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(-) 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]; }; -- 2.7.4