From patchwork Mon Jul 9 11:43:23 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Amit Kucheria X-Patchwork-Id: 141387 Delivered-To: patch@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp2563059ljj; Mon, 9 Jul 2018 04:44:03 -0700 (PDT) X-Google-Smtp-Source: AAOMgpekbuUmEK18BtrwgyLgdtJi+W3ZgAc3eLB/X/66x2gMEFGMixn98eCfNrIE9Ye336Lc5SP6 X-Received: by 2002:a17:902:9a08:: with SMTP id v8-v6mr20479937plp.148.1531136643791; Mon, 09 Jul 2018 04:44:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531136643; cv=none; d=google.com; s=arc-20160816; b=Mu0YlLdcpTvyLZLMfeUwwQjDnSDCTTYDV+AhPS7q9G5O9f3A9VJd/o0+Urd2cyCMn1 jfOBhMLucALCEjYDUWJb3RHVSY20fvvIQdCZ+2iZrNTv3GZywPHeZZ4OUoMVbwSIBc5s Za6FbzqWKkSQy7p5GyAPkqUvVf3psXnKDSky5ucy3Vv6nJjv8MzrGWeFnIet5vbM6t89 088aOTwTEFVgkdI+PQd0WuMPMctytmRQ0/u2UwnNaeOQSjjXqLnOHerMAboC8LN8VSGe FBvY+80/5INFIHnc4V2KF3n9UE8XvTKsqNOsZmbYkD/4lxuFQAk7gFro5umuJ4hnd1gg yH8g== 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 v14-v6si11150033pga.270.2018.07.09.04.44.03; Mon, 09 Jul 2018 04:44:03 -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 S1754520AbeGILoC (ORCPT + 31 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(-) -- 2.7.4 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]; };