Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp179355imm; Tue, 17 Jul 2018 23:44:45 -0700 (PDT) X-Google-Smtp-Source: AAOMgpdZ+j63BnfMPz8jaBM2st9GQzMMVxjeIyZqm9IPQZUrWI2EJ3rTZOu9ciulwho0OjM4sMgp X-Received: by 2002:a62:9541:: with SMTP id p62-v6mr3912949pfd.152.1531896285486; Tue, 17 Jul 2018 23:44:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531896285; cv=none; d=google.com; s=arc-20160816; b=MyxtjeSrMLSN6OKuxRslXgBFR/UlELLBqdFEn36ef3qJdfgsvezhBnNGky7lLtXoV5 SGWNx2OuUr7jehUeWvqyYQaLmZqR+7RjpRO6UqdmIhFvPcF1fY2ZejczrudWM21wLqLP tk37oQ8g0WGUsbH3g92l/UFmkURZh7hNMAnpw9D65QYTfY5SqUif2z4lwyiPl4WMIRKt pXM/VKmf9OsGdxsO3YTv13TJMm3H5G/JydniVNkgnx+PKsuQhDWP9nBy5QAoJ1p2UQkz 7TGATXX7McRaVef9Vgr8TXwcv2/zO7yMJzDNqC4POsKy2eSu102YvvrMOkt4Mz/Mrcm4 +sNg== 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=4oDCvpizcqb4/i72AEYMNJaEhphPFSx5aHBq53Ho/iA=; b=sHP6Fn7RL+FK3aqsB02qf5dAAeTFw5kxWdYf6/05Rxbh2kc0CPr/8iZ+eCoQkNhCNL fb90R8umRZPLYSL001QqCYHozRkhzDz6FZ5RVUnuJFnDyk9IXrylqITXDHCI4Qd2KmD1 wgSn3/lXuSHiYhj5VnFimmrPQS2pKWfcgBIRbFH1lqPAyXRhFqLKQ9n6vqDvMSFeBXFS WWnYumW1DHDZFA3k4mZlGF2VGTjBhWtKHp4H3+XOH/HEQawPgp9NEMPy8MEfYMlR3WUp eeshpqlTKAj0v0TiIHvGO0b+SXaeMfeuxWoqhtZFeaHvpIceYhMP44X/pxEFFN+ND+Kw qN0A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=X1wYElMj; 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 b9-v6si2567520pfi.99.2018.07.17.23.44.30; Tue, 17 Jul 2018 23:44:45 -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=X1wYElMj; 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 S1728711AbeGRHUC (ORCPT + 99 others); Wed, 18 Jul 2018 03:20:02 -0400 Received: from mail-wr1-f68.google.com ([209.85.221.68]:40638 "EHLO mail-wr1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728240AbeGRHUC (ORCPT ); Wed, 18 Jul 2018 03:20:02 -0400 Received: by mail-wr1-f68.google.com with SMTP id t6-v6so3420955wrn.7 for ; Tue, 17 Jul 2018 23:43:43 -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=4oDCvpizcqb4/i72AEYMNJaEhphPFSx5aHBq53Ho/iA=; b=X1wYElMjmFFVBIYhnF7TLSBDWkYYSU6NiObba5XVecgkEWylovwt0I8cX1pfFxrGeL 8QdFNOz/JrEkJeDaSswui7prpExaAtgg0Kq2WP9g9vgtoLpQjUmeFy5BLv0tlzBrniZH H01jcO/5eL22yYG5HcgTxZ8RLX7I/a8H/+OUc= 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=4oDCvpizcqb4/i72AEYMNJaEhphPFSx5aHBq53Ho/iA=; b=S1mppyYfAkbSNCULg3pE8FxOSRrJ0OdhdKcVnazgHpYt/zyc23HonTIYkSk81SYFYU TMGWwk9R+K/a//LyNql0TUxHPCCFhtlN8XcwyNKpuWHxht2dEDSEvSd8UsyxMX5+p0/U ZDYQMoiw4BC6XNf7E7choRnYuh5Tef4s/Gwnj2z5HgikmLbk56acYg5jaeWJynhKIZ3i xPbobZE2wzEQBigl2JYLFzP4JeFvDK/CukTTFVD6D5Nx/wOSf5ZbifVXLamaF1uYmqkz ld3oXa+pDSjhP5+SLmrZJavT1DU/kq2FWWkssaJGtWHUXMnoesFu0RX/ue9TJlHCtA4w fHmw== X-Gm-Message-State: AOUpUlHy3byAFgJsNE3c5XW7xhwyNqQLepdbsDPp+KmR9nhxcZvRypLH 2a+IrDN7fipj0LefjhgyBggcdXNJISg= X-Received: by 2002:adf:f410:: with SMTP id g16-v6mr3395500wro.256.1531896222866; Tue, 17 Jul 2018 23:43:42 -0700 (PDT) Received: from localhost ([103.249.91.115]) by smtp.gmail.com with ESMTPSA id r140-v6sm1365330wmd.27.2018.07.17.23.43.40 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 17 Jul 2018 23:43:42 -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, dianders@chromium.org, mka@chromium.org, Zhang Rui , linux-pm@vger.kernel.org Subject: [PATCH v8 1/7] thermal: tsens: Get rid of unused fields in structure Date: Wed, 18 Jul 2018 12:13:07 +0530 Message-Id: <37bbc8c5c464bbc8d610c85bccaf449e5670497b.1531895128.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 Reviewed-by: Bjorn Andersson Acked-by: Rajendra Nayak Tested-by: Matthias Kaehlcke --- 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