Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp3422208yba; Tue, 23 Apr 2019 03:36:42 -0700 (PDT) X-Google-Smtp-Source: APXvYqxmIQfZ9VbfwwOjf5/IEMybftU4FDFZjXpxStK7p0VkioOkSaZMt+8qJbmX7ksxKaHxGYNT X-Received: by 2002:a17:902:2dc3:: with SMTP id p61mr25477593plb.308.1556015802725; Tue, 23 Apr 2019 03:36:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556015802; cv=none; d=google.com; s=arc-20160816; b=vyccQ0gqxfmuQjT4oSxvFrLz3P0UE9pWiA1CqbOudKb80EbkZx8l/l3CcJ7RPDRe7V EjM93wqhZiI9uLyJfvCswNj44gZh8yQUPEDNjl4zVkuDvGR4Wh3eVCfdBoG70d6x1P9/ we6ZHJUmIfOsATZtuWa15JzlV60OPZtaAuF0UXHo8VHDZyYbEXOflZ7BAbtQLX6ikTAz D6sQKUFvpQZ00zUoalroJUko1W5wB6LjR2SAOZcnAKHucwm6edAsfKfnxoHY40vP2roO 3VRS1RRDI++uIHFwGBGKIZicRdB9lO1KIaq8/EzJfzXDgnfuMNilh0PUYb5zaQYoRX/k q60Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=PNF64pi2itufQBxUFTFNhv50HBLeH2Ap0sntQKQ3f1w=; b=UgmaNXk5x+9bE0iO+IXNWbqqJr0jPTGnHymhzSX3S8VttFW/mrTzkKjdo+9aYPJN0R wJ0i19VKiYORToz/dkfDxylPHHM9BoTWryNEk9cy0Oi+NaCh7qPoc3+SAKnK7ARDoEEZ lH2s96QJ9428OmL6LILUgSL3SJnHsdAU20jas+XwPLVNzVyWwwjIzbHsu7aEC4cctVUg r34pwL8gkVVQZHLk/rpFVieYgQjr9spq8Vneh5liqOrIm4JsKqFP9e0WpfQseKEDz0b8 V+EnNvIQiJUbbMG54QHgwr3SIZiQqgrplG0WQrSiiyhRnHzf5adWTbDdtg8KPJQ03yyl vEIw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=uEweKZJe; 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 v12si15519660pfe.11.2019.04.23.03.36.27; Tue, 23 Apr 2019 03:36:42 -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=uEweKZJe; 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 S1727364AbfDWKfc (ORCPT + 99 others); Tue, 23 Apr 2019 06:35:32 -0400 Received: from mail-vk1-f193.google.com ([209.85.221.193]:32892 "EHLO mail-vk1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726033AbfDWKfb (ORCPT ); Tue, 23 Apr 2019 06:35:31 -0400 Received: by mail-vk1-f193.google.com with SMTP id x194so3084525vke.0 for ; Tue, 23 Apr 2019 03:35:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=PNF64pi2itufQBxUFTFNhv50HBLeH2Ap0sntQKQ3f1w=; b=uEweKZJedxr52kdEb1EQ+qAytoCpKzkkNkio0S7iFPL/icJ6TDLRgGrBogdBFI2qtB vSw62oslP4U3Gv2T/qDElp5vG8nQVqY1/LIq024azcBasS7lgSzg4noU9tYr1U6Q8JdA jIR5z+DwXgxMBGfqLd1iY8biaP3w7hgr6PxZ9COMzCvmrjYat3LuodUXezDC5pjjckpK uN0a6UVjuYMaynBkf4/0BGWKTORawoBBxAlYjCA9rDi4Qx0qnESmSc1gNbhN+0tlqrBx CzOBhA741UsRmgmtMQkhjrOB6QMaeVAo31PHbgRJRhfQ4hTnoj1Zh013HItXWYtl4ieU /qgw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=PNF64pi2itufQBxUFTFNhv50HBLeH2Ap0sntQKQ3f1w=; b=AOLcRxWhiKHq0IzDnTULZui1u1kInOx3EY/f9dx3tQ71H2ouMv+eoBJawqo5ZvUOvZ DrUe1FEfRzb99R0nfVL+81PiCtbwMsFvdoWuNZ9iJcfo3Ekguv5/u6vvltmEHrAyAsLn ZVm/7pZiuYAfs4I1n88EbNRTe6y9KxnLnHpklRKf9/V77N+JTleQBopMTjzwEjvKMh+r 4gCQ6sZxCJXgx96qsM8uEAIzA4VhqsEfnkO4zg0QVNr2cXWXslvLKQbmiVwHTfIpg6lj SpIc47nLWrpK+Ov/uwbraY7NmjpOv6CswqD83RwnkxGKNCVMmOl4Q+IpuEfru3c7uGF7 dJcQ== X-Gm-Message-State: APjAAAWO8/mkxWSCK1adrZHcHdecXAgwwF7bKK6NxPDKZxxdz6n47+JN TJnXhtkbydWdv3UHeHrFOQxcGjl+x4TBavqnxX2s0g== X-Received: by 2002:a1f:bc8d:: with SMTP id m135mr13237606vkf.68.1556015730374; Tue, 23 Apr 2019 03:35:30 -0700 (PDT) MIME-Version: 1.0 References: <20190402161256.11044-1-daniel.lezcano@linaro.org> <20190402161256.11044-5-daniel.lezcano@linaro.org> <9afb2911-512a-9048-9ed8-6aa9dd29a848@linaro.org> In-Reply-To: <9afb2911-512a-9048-9ed8-6aa9dd29a848@linaro.org> From: Amit Kucheria Date: Tue, 23 Apr 2019 16:05:18 +0530 Message-ID: Subject: Re: [PATCH 5/7] thermal/drivers/core: Remove depends on THERMAL in Kconfig To: Daniel Lezcano Cc: Zhang Rui , Eduardo Valentin , Linux PM list , LKML , Andy Gross , David Brown , Stephen Rothwell , "open list:ARM/QUALCOMM SUPPORT" Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Apr 3, 2019 at 9:03 AM Daniel Lezcano wrote: > > Hi Amit, > > On 02/04/2019 20:51, Amit Kucheria wrote: > > On Tue, Apr 2, 2019 at 11:14 PM Daniel Lezcano > > wrote: > >> > >> The dependency on the THERMAL option to be set is already there implicitly > >> by the "if THERMAL" conditionnal option. The sub Kconfigs do not have to > >> check against the THERMAL option as they are called from a Kconfig block > >> which is enabled by the conditionnal option. > >> > >> Remove the useless "depends on THERMAL" in the Kconfigs. > >> > >> Signed-off-by: Daniel Lezcano > >> --- > >> drivers/thermal/Kconfig | 2 -- > >> drivers/thermal/intel/Kconfig | 1 - > >> drivers/thermal/qcom/Kconfig | 1 - > >> 3 files changed, 4 deletions(-) > >> > >> diff --git a/drivers/thermal/Kconfig b/drivers/thermal/Kconfig > >> index ccf5b9408d7a..d8aa7fac8c56 100644 > >> --- a/drivers/thermal/Kconfig > >> +++ b/drivers/thermal/Kconfig > >> @@ -24,7 +24,6 @@ config THERMAL_STATISTICS > >> > >> config THERMAL_EMERGENCY_POWEROFF_DELAY_MS > >> int "Emergency poweroff delay in milli-seconds" > >> - depends on THERMAL > >> default 0 > >> help > >> Thermal subsystem will issue a graceful shutdown when > >> @@ -152,7 +151,6 @@ config CPU_THERMAL > >> bool "generic cpu cooling support" > >> depends on CPU_FREQ > >> depends on THERMAL_OF > >> - depends on THERMAL=y > > > > This will break the intention of afa1f2ab43d48d0e1. At the moment, we > > need THERMAL=y if we want cpu_cooling. > > The patch 1/7 changes the thermal option from tristate to bool, so the > thermal is compiled-in always. The dependency is no longer needed in > this case. Did I miss something? Sorry, the threading of this series was a bit strange and there was no cover letter. I wasn't cc'ed on the other patches, so missed the earlier changes. This series looks good. FWIW, Reviewed-by: Amit Kucheria