Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp3163181imm; Sun, 3 Jun 2018 21:27:43 -0700 (PDT) X-Google-Smtp-Source: ADUXVKIUi2ftsxT/yZtoNyS8zvCZK9+PcXQFboxZVg6gIjMH9XDn0W3J0K2vKEbCQV0JJNucCoX2 X-Received: by 2002:a62:5fc5:: with SMTP id t188-v6mr19833579pfb.214.1528086463327; Sun, 03 Jun 2018 21:27:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528086463; cv=none; d=google.com; s=arc-20160816; b=k+y76t7svtvTu7xzumpPDi7a6qT6hwj6dCm8DGgKWqiBojOPDcPQNr2afiXns4jmNG r2FKp2Hv4J9MogVbzuJNDQ0LRQ65a3cor7WFy8mLHVY4gvFZfQ0tN78Tu1DKn6A9xj7i RwJEv00gmKw3fjf2iL6SEhyqsqtgs1J7uN1WPpMXCdWaBQUHAVNRGrqvCH2Qh6CYMn2C WQQPATSr6cy6OEwDVJzoHckCkuOdvZyweKRjttuLOKgCWdihxxrQlDwf+ZJt6yJTSFDg LccNguy4sIvYAFJZ2EPSwB2oj0tJo+5XowXK/v/o2wCzu1gEROySgk0EbHMxh8fYlaRW VuFw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dmarc-filter :dkim-signature:dkim-signature:arc-authentication-results; bh=dGgX60bt1cT7p80xCnn69EjopFJUg5RPjLsQQzVVhEU=; b=DvB6T3ClIWevay5+woYozHe86I8bx7z9yAVWiI2fhA6SNNBjGFMZ9o8AlBneeVUs85 oOCZoGNdxrPgPIppgm4kqncLhMR0uCRaNLgp4+IX3dfwHKk8RNAog5yG8kLEaIFopFVc pF+g6KHzR4LRNXfd+uC0SQkiImPOgtON4Ukzs1rCBhO3pTpZ/c4lVKgor+3CMvdYaZ6m O6soB2uIXI0ovnuc4RhF9spjHEhM1z8tGmgPWqNWbHijRzl+eQdsB/FKo0lBIzXHcVsw G57uwbq46kKDU20vvV4PMF0qHz08QEimsHxsR8fCG47KkVOc8qqY3gTcbN/aN/HcKBDJ Qe/g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@codeaurora.org header.s=default header.b=YLoiZSz5; dkim=pass header.i=@codeaurora.org header.s=default header.b=IAc4QMVt; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h8-v6si46219310pfi.115.2018.06.03.21.27.28; Sun, 03 Jun 2018 21:27:43 -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=@codeaurora.org header.s=default header.b=YLoiZSz5; dkim=pass header.i=@codeaurora.org header.s=default header.b=IAc4QMVt; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751793AbeFDE07 (ORCPT + 99 others); Mon, 4 Jun 2018 00:26:59 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:54140 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751520AbeFDE05 (ORCPT ); Mon, 4 Jun 2018 00:26:57 -0400 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id 5562460764; Mon, 4 Jun 2018 04:26:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1528086417; bh=YiFoJBHxrQNBXSL7+cMCH2WRBThtXH8z+4OmjmtJfBw=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From; b=YLoiZSz56ucnig0aSrY54AU5t5i/SYJaLxH3MzqM8VHYsC8lSlv8WGleZj12gLuRn b+8ZeKbzHlKivkLASicEy8/IBe6AwmnZwbVV76QHV2hgJJdfqcmToGTPQdZdKwNZpJ xoATFevGL5pV6J21ZxjLnx1XO2o3M9tST4vCKI+8= X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on pdx-caf-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.8 required=2.0 tests=ALL_TRUSTED,BAYES_00, DKIM_SIGNED,T_DKIM_INVALID autolearn=no autolearn_force=no version=3.4.0 Received: from [10.79.40.88] (blr-bdr-fw-01_globalnat_allzones-outside.qualcomm.com [103.229.18.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: rnayak@smtp.codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id CEE9D60764; Mon, 4 Jun 2018 04:26:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1528086416; bh=YiFoJBHxrQNBXSL7+cMCH2WRBThtXH8z+4OmjmtJfBw=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From; b=IAc4QMVtMQh+XkJBtzUoFVhacpbzUsqi5h+V8UdEM+tn58dA+ci7ijnoqIY7bnxvb P9jmxZcxaGWpEJ2kEq1wmttuLfclommQhQe435c7CT3U2vk5SVisaUioKMTbYukO1L J3frQLz7yfuf7Fb6x1Ay+cmVFjXyBcFazlvvjeBw= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org CEE9D60764 Authentication-Results: pdx-caf-mail.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: pdx-caf-mail.web.codeaurora.org; spf=none smtp.mailfrom=rnayak@codeaurora.org Subject: Re: [PATCH 2/2] tsens: Get rid of unused fields in structure To: Amit Kucheria , linux-arm-msm@vger.kernel.org Cc: bjorn.andersson@linaro.org, edubezval@gmail.com, Zhang Rui , "open list:THERMAL" , open list References: <40aa5b9760b09be0970dbe82997db71756927eb0.1527937396.git.amit.kucheria@linaro.org> From: Rajendra Nayak Message-ID: <7ccc0acb-b2e0-cb81-31f5-223d78e62966@codeaurora.org> Date: Mon, 4 Jun 2018 09:56:53 +0530 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 MIME-Version: 1.0 In-Reply-To: <40aa5b9760b09be0970dbe82997db71756927eb0.1527937396.git.amit.kucheria@linaro.org> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 06/02/2018 04:41 PM, Amit Kucheria wrote: > status_field and trdy are unused in any of the tsens drivers. Remove them. > > Signed-off-by: Amit Kucheria 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 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]; > }; > -- Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by The Linux Foundation