From patchwork Mon Jul 2 12:44:04 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Amit Kucheria X-Patchwork-Id: 140744 Delivered-To: patch@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp3952121ljj; Mon, 2 Jul 2018 05:44:43 -0700 (PDT) X-Google-Smtp-Source: AAOMgpe1820CfPCd4UhcQRKyf7XgdZ7lDV5Slof6SdzrYISJUkxHOI1f5BAIdlyc5CKRTL5ATa4L X-Received: by 2002:a62:3a9d:: with SMTP id v29-v6mr16002170pfj.215.1530535483372; Mon, 02 Jul 2018 05:44:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530535483; cv=none; d=google.com; s=arc-20160816; b=C68lLVaPrE/5c8LdbwLD8t+Rh84UGuqiTpLNwCDf8C+AGR2vWjEFrepUeH+ZnAxlYU g2SM629D6LllFsCJXU0dXdT02aNp/9Z18jEo/W5Bn83Md8svKUqlPMKWOBbI0j446nRm MrMaaeti5h/fB7jftYoSr2V3HuAwQazLw77qWShKuYaKyVVcEi4GYsJLGMhLCrMely1W xfUrtPIlUNKYXfuTMlcxhB911j+6c5ipHbsCBtek1twVH1JUQyzF+vSpTvVUcA57N5sa alK3hJh0Zckkuksm32klBc3RdHfNAiHOYNruuTa7rJ6mPK549e7IAepX1Ud8BgwgV5VD QMfA== 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=TvDKH4qNgzA214K12M/SiaKsdAtFTPHIZU8nhQ6ROT8=; b=s01t1gqKr+jwXjdE75MDUTTstz3pSZ+ruKwEUfJlx85V3bR8/sR9q4yEC/1D0dCTlV v88pa4g5+NOb4vZjXwY2YleQngL77sDMurBYi30KQwPe6cVPkkY1b40pdnTqthGyOUe4 Z7m/FI6ywQRBgSSL+ghxdm5KknzD3zoz0eAaoEeS7yVXYYze8Bvdf1uiHzRcOhszIZ0s DnpPQxrYf/yguevI3lzW4b6yYNqJgNm2wSadDVzP57fkS/K7fJoEbUKNDBYUaEMEr4Pu F6uVYjSqhTI6WkYNvR8vRLJmwQtNs1g03kAvrm2TR8e38Iz2rtNyBK/iLMQuHF6oRepJ E9qA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=URs0cOrY; spf=pass (google.com: best guess record for domain of linux-arm-msm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-arm-msm-owner@vger.kernel.org; dmarc=fail (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 w37-v6si2574498pgl.514.2018.07.02.05.44.43; Mon, 02 Jul 2018 05:44:43 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-arm-msm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=URs0cOrY; spf=pass (google.com: best guess record for domain of linux-arm-msm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-arm-msm-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752968AbeGBMok (ORCPT + 13 others); Mon, 2 Jul 2018 08:44:40 -0400 Received: from mail-pl0-f65.google.com ([209.85.160.65]:34501 "EHLO mail-pl0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752938AbeGBMoe (ORCPT ); Mon, 2 Jul 2018 08:44:34 -0400 Received: by mail-pl0-f65.google.com with SMTP id z9-v6so7916123plo.1 for ; Mon, 02 Jul 2018 05:44:33 -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=URs0cOrYlP4BOAYTacOb341ahNRD+O96SbDO+rBDo9it/c7v3pLydiIQo3adVWu1Jh dPcX/HQIc1QhXtpJTqRuq3ytFbLGHIDhCxytbGJPnyIir4HUyT9Nc+HFScs1lThmf6ZU nZ9ukc9w/slVHpl9yfmI/QqQ2tW+KqWgNYBwk= 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=iPzSxpJa5EsxxkRiv6yCpBxCv0Hrdfcp06Z3Z0grpBc3Du169pouU59X2iDSbAr2l7 jXIkyfU5U+Of4j+sSowoivFKthVpTuuonyGt2Ykh8Gy55kcCbvK5wc7kHHWNK5JKzlyA jRFYeO1LVvEeWOJoRzjewMYawhocp4MM5J8Fid0M5d2MnRZ4czgIv+NYrn/U8v1EE+OK GjKYOZ+s9HciHVO4defcPAJ/+2fVS8UCrDLfqLokB+xEfpK9uUKjHMlm2YsnICPFxvCQ SmxxbbB8MQZqucAUnyQJLCAP3f05SeSXRKpuTGPSceT8Mip8/5BHWYDxQTwAOICrIjEq ulWg== X-Gm-Message-State: APt69E3xTA79fWfsnVQ4XoZr5Zyt/z3oFddiOOuZFrWXKJaeW3IlZZWe gybSOFISV6Pa2/EV/nhUiM/hHg== X-Received: by 2002:a17:902:8f83:: with SMTP id z3-v6mr904635plo.111.1530535473517; Mon, 02 Jul 2018 05:44:33 -0700 (PDT) Received: from localhost ([49.248.63.129]) by smtp.gmail.com with ESMTPSA id m6-v6sm9301042pfh.153.2018.07.02.05.44.32 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 02 Jul 2018 05:44:32 -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, smohanad@codeaurora.org, vivek.gautam@codeaurora.org, andy.gross@linaro.org, Zhang Rui , linux-pm@vger.kernel.org Subject: [PATCH v4 1/6] thermal: tsens: Get rid of unused fields in structure Date: Mon, 2 Jul 2018 18:14:04 +0530 Message-Id: X-Mailer: git-send-email 2.7.4 In-Reply-To: References: In-Reply-To: References: Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@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 -- To unsubscribe from this list: send the line "unsubscribe linux-arm-msm" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html 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]; };