Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp740306imm; Mon, 2 Jul 2018 22:11:33 -0700 (PDT) X-Google-Smtp-Source: ADUXVKLbAgPbAG5V4+6wzh+8cGGXzRIvaG6Zi1jL0wNMN8+vRft760vfAizK9XPoPDqrLceMBWj4 X-Received: by 2002:a17:902:c85:: with SMTP id 5-v6mr28706863plt.126.1530594693136; Mon, 02 Jul 2018 22:11:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530594693; cv=none; d=google.com; s=arc-20160816; b=IsseE5b7zbCJQ5NDeWXGVExcdn7TI3RUGR2lVRrxDWUaLrQCtAwTluj9XfKcNDAiz6 /B/BOPsGHfN2PAU5ai4QPUwztNjOXhFYa4kzjcJkCTtPAKk+/Q3OngsYVU8rLcsNuV1T rguubdArbbzdOZxzIvWOy2Wg9pXHa66lMCy6pieRtsDGC3njc4sKhp7/GFr+Ck9ow/NC /2qpjrGvDqMeSKaaR1teKY38OUycnouJKeey6w5IW88MfZH2JQxYcgtwqf3zRNoPFOAN 4kBNLqMV9kWgjVdj1u3fwKx1BAvRAKf5zgvxc92a5lWC6ZI8af4KuPlgwis5ICj3cJra MB/Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature :arc-authentication-results; bh=N+mip5XciUVSu1wWiIkrpbr8wx7syG6RmIQDn95LCpA=; b=FbMQQLDawRdMHUOgHucUcYSVtq5RX4pVJMIDIfSLryCUg5a5kJJ0EZHt+l3z6MVNdB u5OM8eXUahm+9vYlGNAbYDYATFO8nT8uAHDLAPZmDtvnPv4Ko6SDOp0yQBK4OZd5AK8u xKJBmU1UueCiPlX5mvIxt7lfSUl5XsWmy5ywYMTAPqBD2ekb1nOFN7SizcvRH7sEFUwF cm5nUEIAQz5e4PhSDyMRWZWR8IiVnK7Nsw2kWe0BeiLmYSYWDEL5NP4y9AuwFFbU/43k DHaMpF2X6A0flGj7WGUQC7m7DZ+ogCDiH+qobvqfq3o86vWFIkfMc3bjW9HWtlaJ4daI 1frg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=V7j1+Vh9; 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=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e17-v6si258532pgv.160.2018.07.02.22.11.18; Mon, 02 Jul 2018 22:11:33 -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=@ti.com header.s=ti-com-17Q1 header.b=V7j1+Vh9; 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=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753977AbeGCFKh (ORCPT + 99 others); Tue, 3 Jul 2018 01:10:37 -0400 Received: from fllv0015.ext.ti.com ([198.47.19.141]:56924 "EHLO fllv0015.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753723AbeGCFKf (ORCPT ); Tue, 3 Jul 2018 01:10:35 -0400 Received: from dlelxv90.itg.ti.com ([172.17.2.17]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id w635AT3P117808; Tue, 3 Jul 2018 00:10:29 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1530594629; bh=N+mip5XciUVSu1wWiIkrpbr8wx7syG6RmIQDn95LCpA=; h=Subject:To:CC:References:From:Date:In-Reply-To; b=V7j1+Vh9dzn+BlX35H+09Y5O0yPqroVLvOVlwfDmTBB96XPgcjsyTc+a0enLzEPD+ FhqCMaTXGyGkGKgZDaeKOf3wdLWwuEGCNyfqbRACMic++dwkLGg7lgEIVK+QZifrrf aKOleY7EQPtI7C7B/kNT5U5+iPngvep5Nm1oDJzo= Received: from DFLE108.ent.ti.com (dfle108.ent.ti.com [10.64.6.29]) by dlelxv90.itg.ti.com (8.14.3/8.13.8) with ESMTP id w635ATbY001613; Tue, 3 Jul 2018 00:10:29 -0500 Received: from DFLE109.ent.ti.com (10.64.6.30) by DFLE108.ent.ti.com (10.64.6.29) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1466.3; Tue, 3 Jul 2018 00:10:28 -0500 Received: from dflp32.itg.ti.com (10.64.6.15) by DFLE109.ent.ti.com (10.64.6.30) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1466.3 via Frontend Transport; Tue, 3 Jul 2018 00:10:28 -0500 Received: from [172.24.191.45] (ileax41-snat.itg.ti.com [10.172.224.153]) by dflp32.itg.ti.com (8.14.3/8.13.8) with ESMTP id w635AQOg026872; Tue, 3 Jul 2018 00:10:26 -0500 Subject: Re: [PATCH] thermal: ti-soc-thermal: remove dead code To: Eduardo Valentin , Bartlomiej Zolnierkiewicz CC: Zhang Rui , , , References: <10747698.EAsn0e6Ddm@amdc3058> <3318201.BAqn4C3t6k@amdc3058> <20180702163010.GA2380@localhost.localdomain> From: Keerthy Message-ID: <8e1b81d0-2ae4-90aa-b079-7bc778a2f015@ti.com> Date: Tue, 3 Jul 2018 10:40:25 +0530 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.5.0 MIME-Version: 1.0 In-Reply-To: <20180702163010.GA2380@localhost.localdomain> Content-Type: text/plain; charset="utf-8" Content-Language: en-US Content-Transfer-Encoding: 7bit X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Monday 02 July 2018 10:00 PM, Eduardo Valentin wrote: > Keerthy, > > On Fri, Jun 29, 2018 at 06:10:26PM +0200, Bartlomiej Zolnierkiewicz wrote: >> >> Hi, >> >> On Wednesday, May 02, 2018 03:20:35 PM Bartlomiej Zolnierkiewicz wrote: >>> Majority of this code (i.e. functions from ti-bandgap.c) has been >>> introduced in May 2013 by commit eb982001dbd8 ("thermal: introduce TI >>> SoC thermal driver"). Just remove it altogether (in case it is needed >>> it can be easily resurrected from git repo). >>> >>> While at it fix incorrect "not used" comments. >>> >>> Signed-off-by: Bartlomiej Zolnierkiewicz >>> --- >>> drivers/thermal/ti-soc-thermal/dra752-bandgap.h | 68 --- >>> drivers/thermal/ti-soc-thermal/dra752-thermal-data.c | 65 --- >>> drivers/thermal/ti-soc-thermal/omap3-thermal-data.c | 6 >>> drivers/thermal/ti-soc-thermal/omap4-thermal-data.c | 10 >>> drivers/thermal/ti-soc-thermal/omap4xxx-bandgap.h | 10 >>> drivers/thermal/ti-soc-thermal/omap5-thermal-data.c | 46 -- >>> drivers/thermal/ti-soc-thermal/omap5xxx-bandgap.h | 41 -- >>> drivers/thermal/ti-soc-thermal/ti-bandgap.c | 370 ------------------- >>> drivers/thermal/ti-soc-thermal/ti-bandgap.h | 43 -- >>> 9 files changed, 5 insertions(+), 654 deletions(-) >> >> Gentle ping. >> >> It would be great to see this patch in v4.19. > > Any objections on this removal / cleanup? Tested the patch on dra72-EVM. cpufreq cooling works well. Tested-by: Keerthy Acked-by: Keerthy Thanks for the clean up Bartalomiej! >