From patchwork Wed Jul 18 06:43:07 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Amit Kucheria X-Patchwork-Id: 142240 Delivered-To: patch@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp177463ljj; Tue, 17 Jul 2018 23:43:44 -0700 (PDT) X-Google-Smtp-Source: AAOMgpf0lLXe0cgVbIsHMEbmqsZVlYa34WzoY7CxVSXBQQhWTpkGXsWsGoTCSOAB10oYKDKPp1Hy X-Received: by 2002:a17:902:381:: with SMTP id d1-v6mr4694551pld.309.1531896224859; Tue, 17 Jul 2018 23:43:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531896224; cv=none; d=google.com; s=arc-20160816; b=cwYXXHF0zbD2uoSVZrWbn3cy1sJeriiHDfsFZ4dv1BOPwr+4s95b3NqlRr1j581C1P WwD+Q9hdcIH5RLelRthLVKKhxFg+VQ6D0gEa5AaYEKB3oHdUrEd/Nuvk4fPGimuJjv5F WeFfLlvK51vs3KWc8VL3TbfVyxb59TXicNy/nbqkf71iWlBwnLISUP3XJKXLLOFDmEYf GL7SvAP3AMbRXzZ+ktnFpXo6C2q2A2JxS5f5fHhf0N+DhwYjuLRFFA3n/KJMGbz4g1aM kZ/EzoctWR6FRWsmZB7jvFKSY89ZPXuMhbHtYsjsEJjNZGyzH9Hlh+A0OU0v8ilAKRsf 8R/A== 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=wpYbk5rcyJ5//drPAdl8NqUEO8qLDEnBQNfgS2eY8w0=; b=y5d7o5GilcYKar38Apn9HkgjuSnBmUMkOpevZYnUrpD6d4XTXHEYIuaWvFe5nd+fxO jjH05zfe5u0G/cFbpgl5vjRnbORY7AiuU1uYHlppF2x8QfgHdjYE6s5GFnIEdUxzO7Nm 74sv1FyMGfMu4TRtf8NVWzHV/4TMHJ13t9ecdbdENeYrKUb9DqIjODtzd7viOT+EFCfa 2/eSbpUo9YfiJE2zkyXwNWADyuc40BHPKTUhprIx/zVwizKIXZQPKChlSnsUkaVzbR64 mFPSIz3R1OnZVy1ZGD0ygugFYP/DsmvDjrks7oZPf/PohF7hXdll0+AGad4TVNAx37KI ++2Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=X1wYElMj; 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 j24-v6si2668820pgj.145.2018.07.17.23.43.44; Tue, 17 Jul 2018 23:43:44 -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=X1wYElMj; 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 S1728278AbeGRHUB (ORCPT + 13 others); Wed, 18 Jul 2018 03:20:01 -0400 Received: from mail-wr1-f67.google.com ([209.85.221.67]:46798 "EHLO mail-wr1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728103AbeGRHUB (ORCPT ); Wed, 18 Jul 2018 03:20:01 -0400 Received: by mail-wr1-f67.google.com with SMTP id s11-v6so3402255wra.13 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=lVJjgBTRgaBhIB2YpHJYpHC763Y+H38h9YIGphSOBcQjDxLpJBNCVgQJTYg+N3ZMup +mSaATxrnaH5kru8KYJRGfiozZYMRoaUDdcj8ys0XOZynAvqg0VsgIrz0IZtH5lG8Biv jLGtAnAxVuNQkij37D47ULIfGX7lZCcoktYJuKXRrru7w4/dZYSqKsP7xs67JpNnDZxe CePjCYZBpkv2uAhSFj7osSphhrDJVIKC+YfoKKdka4koVq3WuSBmK1uo19bzI27yMUdS N4OXJVREl1hxNdgJKiw4r5omVxMxUexe3R5hRcxCrRMER+Qvj+tZlyIESJhku56QCJzT GlYw== X-Gm-Message-State: AOUpUlGs7e7TZRj+Ore47BKeuUPGW1aJHqiTj9RoAJ8ja+Yohow/GS49 YrQ24xnOEERWaiV/116Jae7bEQ== 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-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 Tested-by: Matthias Kaehlcke --- 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]; };