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: 10514411 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id A9BE8600CA for ; Mon, 9 Jul 2018 11:45:43 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9436D28AC2 for ; Mon, 9 Jul 2018 11:45:43 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 88B8E28AC4; Mon, 9 Jul 2018 11:45:43 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=unavailable version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2C8F528AC2 for ; Mon, 9 Jul 2018 11:45:43 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754474AbeGILoC (ORCPT ); Mon, 9 Jul 2018 07:44:02 -0400 Received: from mail-pf0-f194.google.com ([209.85.192.194]:34769 "EHLO mail-pf0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754462AbeGILn7 (ORCPT ); Mon, 9 Jul 2018 07:43:59 -0400 Received: by mail-pf0-f194.google.com with SMTP id e10-v6so13509829pfn.1 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=lsZKCK3yPKplCgjTt5ln5LiyCsZagnuQAqaHN3VV2UdZilRt3blz41MhEMl1x4i49s MWFQ4NbG6OhTJugA/pCQUw+BNFo+h90lWmUB8tWFJMNeQ83xKOghITWi4hzQ/vh2dY9J wjQXsVt5JJywJz7JZNRddnMwVoat0F+0fvGOHnUB8VXZm63fVy2o3w3Fz4kTqEfECQ8e A86K01NHnzCUP2Sa7aGbOJhKgyYhRQWBAej8XWDBrHOd1HAbjHuihwXxjNznf863G5yZ 81nw/pCzEQfahi2veMPA8OOFSYJscBbzIfoyCScBn1zwsOrWJIsxY0Bw1JWsXUIofCUw t1yw== X-Gm-Message-State: APt69E031veD0l49W+PiGaQncBD+CP+WkpDHK26wt2VU8Gtxpw2DqUUB lJQAh2y8eM9cM4SvrOaOxtRGvQ== X-Google-Smtp-Source: AAOMgpdLroGdD313YbB27+Bk12JmU+QDaK17Yg3ziO6QQSvK4AsFTiQu988/13orqGi2Z10XctR0+g== 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-pm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 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]; };