Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp3709811imm; Mon, 4 Jun 2018 08:04:44 -0700 (PDT) X-Google-Smtp-Source: ADUXVKJ16MtsUKe65zdFKWcQxlmZr+/DjPabXGEKEGAf8m7MC5408tjoneYFC4kFjOFQImUVnnNy X-Received: by 2002:a63:7d1b:: with SMTP id y27-v6mr17493707pgc.418.1528124684577; Mon, 04 Jun 2018 08:04:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528124684; cv=none; d=google.com; s=arc-20160816; b=UaQ7Tl7iDp0rTsutpv2XGNzP2cRmeFYg0k/DvITrtjM/HZzvcPNox2Na67M6Mcrc11 KiOOsyuCiXGpm/WbLcTV9bAjdZipgrWDV7V/AfjTIEsIeEdQFvyC8Sb2n2Rx65OHbVYm qxwL6BsxhOK0BevnI1P0KaRX+eR6n9qu3DEo+dMZQE+Svuek+zZfByDHYy/0LV8Ldc8b G3zOJpOgt3v010eJZO+jeY+1cLVMyEmnC9ZjtMo4NY0sBgRiLq6hTsGuyEG57tm7Pvqa BNiQkIPW0kBs+m8LDEUI2H5PZtZ1dmr8dzeJJGnDu0qsBettciHytgT1O1DBReF+fKk+ ZYPg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature:arc-authentication-results; bh=+J15p25UbM3UifWnRIZGzX+qJh+vRwoPT9I0CfhkIpA=; b=eZNnZMzvbiTuTSm13Jyp85/0xw0WFf3rO9nyqW8SEIcv+1n3k/1i7ZvuuM3P0Hketl p6byesEAe5d4dK/Zp6p5FqBpeeW4cHfA4U0KEGDjAUuHKVBsI/qfRGZln5wYTge5S/Fh HjQeg0bKFe/piV73jGPY7y9us47LJt31tuvzYQxEHTHfU5kcSFnxRG/7qiodw4wCH0Jn ZJB7myXGHlqIbDF12fIbOpblcTIDaF6MTyLb5M4egUNcNknero7uvpIU6b6ZAtolpZCd z3EQjmmN74D4jCetsx51KMcSJdr4rvE2jj4umFsWL67RaXifzBrbRTuriReMd4QFNthj 9fWg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=KZ6X21Ku; 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 m13-v6si23109385pls.70.2018.06.04.08.04.30; Mon, 04 Jun 2018 08:04:44 -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=KZ6X21Ku; 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 S1753765AbeFDPDq (ORCPT + 99 others); Mon, 4 Jun 2018 11:03:46 -0400 Received: from mail-pl0-f65.google.com ([209.85.160.65]:43658 "EHLO mail-pl0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753722AbeFDPDm (ORCPT ); Mon, 4 Jun 2018 11:03:42 -0400 Received: by mail-pl0-f65.google.com with SMTP id c41-v6so19867520plj.10 for ; Mon, 04 Jun 2018 08:03:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=+J15p25UbM3UifWnRIZGzX+qJh+vRwoPT9I0CfhkIpA=; b=KZ6X21KulxrOLQfP4ZLvG11L8oP1ECi9lfmcrkd04NAhCY4FWgZTcpBJhLY8/dGNVJ G1TLRclWHLAiwwa6RskYQX2H544gEiXh+vbWyjSj/MGHno+bs+U/mDEUZKzxQViKUSOB Y6Q8VIav5KKuRmsgMUDYSnuURd/yU+Zlej5tY= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=+J15p25UbM3UifWnRIZGzX+qJh+vRwoPT9I0CfhkIpA=; b=EOEBIiwV5e4Fr2FlS+ktD5L+ukyMDBNkKpB3xf/+JeL/wxkgDSJu0+9hPch2D7My2/ l94NxKyD7M/to6ccXDlb2mAeVZf6G2ZReuI4R/QWH80YSuVw3oeS4pupzaww2IOeG4t8 Aykofwj27gTDkr4pT3FCAAMkHp0CFEMaEpatxRYg2hmlumB/Zru53gMrr8JcTdUhTIJ/ Rn2BAmT/+d/XruJXxURptIzDeBkhG8Nf7yOcIFerrrOpZFoTu9d8LLXabsd5JanoWMqb kfsMRBv9iRJqq40QbfRaXS9ifhOqphfBGtqFJXsviRulnBkixaVeNy76/TpRprrzHqKc wcJg== X-Gm-Message-State: APt69E1TMygfIuYhnYc0xxrw+ZFObny3fP+D6dPhDzCbgia1Qu3o+Lcu FjV8AZuG4zSb8zPjVSFG5kyUAg== X-Received: by 2002:a17:902:7604:: with SMTP id k4-v6mr8910391pll.13.1528124622155; Mon, 04 Jun 2018 08:03:42 -0700 (PDT) Received: from tuxbook-pro (104-188-17-28.lightspeed.sndgca.sbcglobal.net. [104.188.17.28]) by smtp.gmail.com with ESMTPSA id g20-v6sm75184983pfi.163.2018.06.04.08.03.41 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 04 Jun 2018 08:03:41 -0700 (PDT) Date: Mon, 4 Jun 2018 08:05:49 -0700 From: Bjorn Andersson To: Amit Kucheria Cc: linux-arm-msm@vger.kernel.org, rnayak@codeaurora.org, edubezval@gmail.com, Zhang Rui , "open list:THERMAL" , open list Subject: Re: [PATCH 2/2] tsens: Get rid of unused fields in structure Message-ID: <20180604150549.GD510@tuxbook-pro> References: <40aa5b9760b09be0970dbe82997db71756927eb0.1527937396.git.amit.kucheria@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <40aa5b9760b09be0970dbe82997db71756927eb0.1527937396.git.amit.kucheria@linaro.org> User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat 02 Jun 04:11 PDT 2018, Amit Kucheria wrote: > status_field and trdy are unused in any of the tsens drivers. Remove them. > > Signed-off-by: Amit Kucheria Reviewed-by: Bjorn Andersson Regards, Bjorn > --- > 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 f15660d..77ed8dc 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 >