Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp424113imm; Mon, 9 Jul 2018 04:29:40 -0700 (PDT) X-Google-Smtp-Source: AAOMgpegGQI48Kry4Xda18/0yjoYJ2224bFPlPP3PZfZ33nQMiwLeELrervq1nrTzNHBF8QER9VZ X-Received: by 2002:a63:ba43:: with SMTP id l3-v6mr17981391pgu.295.1531135780184; Mon, 09 Jul 2018 04:29:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531135780; cv=none; d=google.com; s=arc-20160816; b=YHeb1ZwPx7fktwuowq9p+Mj+4KhHHg03Yr3lY80ASPtQIxOimQX6Dk0pUFzETvks8I LhvEZN0Z4oezCkNmRXU+jBCuxOgMIEku38rwd5OVUxkRYTQ/GuToQQ2QzIrcAbi/m4tu j9FX3JeUb9ljc5gDUCBBP4tX+HQHKTWKqoq0A6+4Qvz9YmCzrAvJdaUtvtS5qcw7d6RF TnhaeZJ73tjR9LhfYNUBL/Hjd/kpmdqNq7yloKR7QSJhyYR6hssxCORpiuIC+75zTX8Q OJzDqGhBjrJMz7uU7LFeN+cl4HRBlFWqMZ6YknPFjDywDy6M79lPfd7FHplOtYkD/v2F luZA== 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=kOBYoBhCCuXh+1DlwKqFrhgDUz0QuxMOyyjoLJo6MF4wO3DU3VxdVZARYwylWP/yxC WDghvlXjlHhVM1ze0x9dd/vk9O+7TNWQeJIiaofPvsOFlVWN9VIJJTrz/bfpC2GWYI9J nVPTq61+TEoyZAxBa9UUMLud9EF7b99qYYJNR0Bzow7kR5VOrr5VWe3y6utaNYYrtt9n vi7pXFKXZ51dtFf7QEB59Za/mJB32mAIlbvfrHTWgdaqcPjM/pY2oMPxCZwgyFdIhUUh o4/a+Bddnf1q3XY/laC67UQjyOWuue4tEpa3wEAykkJSkrHdapTMhtrKlhbrLBbHXLYy LFzg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ZtbkqstD; 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 o33-v6si14143855plb.432.2018.07.09.04.29.25; Mon, 09 Jul 2018 04:29:40 -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=ZtbkqstD; 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 S932704AbeGIL2R (ORCPT + 99 others); Mon, 9 Jul 2018 07:28:17 -0400 Received: from mail-wr1-f65.google.com ([209.85.221.65]:42717 "EHLO mail-wr1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932609AbeGIL2M (ORCPT ); Mon, 9 Jul 2018 07:28:12 -0400 Received: by mail-wr1-f65.google.com with SMTP id p1-v6so10594956wrs.9 for ; Mon, 09 Jul 2018 04:28:11 -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=ZtbkqstDXIt1wd5jPPhvSO45ko4JglnNNr11mtK/Lw0Kz48LhzxWr5wgqCP1WJySjv V+TPJ+o2DIiCz3EovzkQj8lPyV613gltVlezLBvs/cVvyC3ksQ1jmfHHMG+8yVCj+2pY 8RkfD/UIOvf6YNVT5t+wEipIPjQ5090z6psuc= 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=KyMVqIml4vbMzYFdVUPey8qemGR1i7paHZlMd29v0mdq0U7s10X0nhnuorAD8Pp5vA bYM31zBIBPPmCNGBN7K8KW/fDd1d5m85Tpk3g2q5x0/dwieyUp2rTixWZB38+u1Cnk0M trq4BsIXTBZnIlGHwqw7OzbLTJ3bZGh+4mNHc9aktFpRjifOc1zRuNWYx0a1+5EoLvRu FuSgFe/TDSVjZmuzOfuEDW7K9w410Ap76/WnZJpP/TLCE7DfDeusJ3sjrSXJi/1ruupQ SH289sp882JL+4Jq5jpkEm2ksM8dubRTFRnXqFHXyDNTahENEiYjy/hAjfIjp368SB5B +9qA== X-Gm-Message-State: APt69E15hu0cg76aR8hVunXTP1HAQnYv/MKa7Y6y2O8JsRwiMwaebddr 7OHqD/CGrAqyHfHcrjV1pi8gZW0EiLg= X-Received: by 2002:adf:9d1c:: with SMTP id k28-v6mr15390586wre.29.1531135691055; Mon, 09 Jul 2018 04:28:11 -0700 (PDT) Received: from localhost ([49.248.189.240]) by smtp.gmail.com with ESMTPSA id u135-v6sm1981330wmf.2.2018.07.09.04.28.09 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 09 Jul 2018 04:28:10 -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 v5 1/7] thermal: tsens: Get rid of unused fields in structure Date: Mon, 9 Jul 2018 16:57:34 +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