Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp438433imm; Mon, 9 Jul 2018 04:46:21 -0700 (PDT) X-Google-Smtp-Source: AAOMgpey6lnbsvjokOZdgNwcXaxNNmVB/LCB0d/aigcn5NWzTpV3enlWdW6wJslvV29066FmzW/k X-Received: by 2002:a62:3687:: with SMTP id d129-v6mr20911561pfa.137.1531136781682; Mon, 09 Jul 2018 04:46:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531136781; cv=none; d=google.com; s=arc-20160816; b=EklxXodG2j1DqO95+edypQsxGdIlD4Tuq62cHS6c+91a4uu0oEGMgAALLGlD7FUk6Y SGxrvsZGLhPojGir/LeyclTzawwWprVvcWR4W3y/p4S7l7KL/bub4fg4hesjj7RBS1dp KDHbd0ICiYWOqaf8gp4+MQzNQ4gQ1NBlWiHqsglJfP7po4kqInI1PiHlEBl9KjxyKsYR Eqd6ZiR7Iol2Q+siRGQsFzHXdD+yePEGCnfyT6nyfKW7hpp3GyhnMbf9IqaImn0g9AwH QEvNxW19y2LRO9+jisp1RHpe4xwYnGkskYtRmm9NtOlzDq0F8LpdehPt3kE0sTxOOz+t Yt8A== 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=ZR1LOhMWtJI1nrz6jAGp2FkvPhw9v2IxgMP3LxydXqyi/9rnOJ8RmpKRy4WB0AJJKH ej44k8xD//TC7AzNbk6RmT+Bi7uPxivUlMm13qkerA1FE3WJ1ci5mpUyd430FoEgK6Q2 NqeDH0Jye5gBQGwjTeieFtL7qmMiP8GfLpWqejnT/xP3MmYcjx/XFxuCwVdGtKw0CzvO QYMzMgilZVxEeBDTKK7WoTmT5nOO4hjduy/AFsRGhKHxJbpFf6tiLIcNJcsJ0dhO/8dW gShRXqPKTzveMhzE4DcoRQckbyvmLxMDIdy0wR6YgZLCKKG1OJBDdVJ29GN0/z+XzYZ2 txwg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=CISB1Njq; 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 k18-v6si14192787pll.404.2018.07.09.04.46.07; Mon, 09 Jul 2018 04:46:21 -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=CISB1Njq; 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 S1754515AbeGILoC (ORCPT + 99 others); Mon, 9 Jul 2018 07:44:02 -0400 Received: from mail-pf0-f193.google.com ([209.85.192.193]:42312 "EHLO mail-pf0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754467AbeGILn7 (ORCPT ); Mon, 9 Jul 2018 07:43:59 -0400 Received: by mail-pf0-f193.google.com with SMTP id l9-v6so1872952pff.9 for ; Mon, 09 Jul 2018 04:43:59 -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=CISB1Njq3EwhHIEELfi+QKNGw0UrCiOaotNAGzoY0sPV0ZozSTMQ2faE6hhaQstqL/ v+AyzosbCgoofvyt6B/5Bqeps1WHxqwaLrIASoftzwtCnjhnc3oNyvE9+iy44np0ZW15 5Mw/FY26Z+KUf221TkM97NVawFY66L/zz6A7s= 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=ifo7OSbXBEOjO1kgC8TPvXgBs5nOO1oS+qaVZYC18icOq/8ah3yEZdpjkFUIMb5RM2 rvgf85gXM5lP9Co9js8mhH1dnr+X0XyI94B+1O6rQW4SNerYWZAtjKa58MdYeZxWtHp+ uB/eypP6gboOrT2bnpxITRUArSsbRQ/2cSEhRmyZXPOHKQ9948ID2bf/TgTB7llVFKrw CwMzI1xYZygN/5rYxlNCBt4aKGIdEMR+Qjcqk5yW7NZtOMPBMIKt6LZ2kAvO7qvuKRa9 wQX5QGJF4bg/a1y+CH4Bz+2vNdzHRss5kIEMG+U5l1A1moYfCLd2bmIJeSqQRVd6HWmt Rsrg== X-Gm-Message-State: APt69E1+YfM9M6o8o6Fyp849yhM4MEs8kZOPuOIPNwbXYFo4/N1zshHR 05qG6nkDG0rwLlhkglA2T3fkLUD/n54= X-Received: by 2002:a62:dc1d:: with SMTP id t29-v6mr21149179pfg.244.1531136638539; Mon, 09 Jul 2018 04:43:58 -0700 (PDT) Received: from localhost ([103.249.91.93]) by smtp.gmail.com with ESMTPSA id z8-v6sm25592443pfg.24.2018.07.09.04.43.57 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 09 Jul 2018 04:43:57 -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 v6 1/7] thermal: tsens: Get rid of unused fields in structure Date: Mon, 9 Jul 2018 17:13:23 +0530 Message-Id: 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(-) 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]; }; -- 2.7.4