From mboxrd@z Thu Jan 1 00:00:00 1970 From: Daniel Lezcano Subject: Re: [PATCH] thermal/drivers/core: Remove the module Kconfig's option Date: Mon, 1 Apr 2019 09:18:19 +0200 Message-ID: <86b89b19-73fe-4ec9-d030-a72f191a44d1@linaro.org> References: <20190401032425.18647-1-daniel.lezcano@linaro.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: In-Reply-To: Content-Language: en-US Sender: linux-kernel-owner@vger.kernel.org To: Guenter Roeck Cc: rui.zhang@intel.com, edubezval@gmail.com, Linux PM list , linux-kernel , Russell King , Ralf Baechle , Paul Burton , James Hogan , Guan Xuetao , Alexey Brodkin , Andrew Morton , Robert Jarzmik , Guenter Roeck , Krzysztof Kozlowski , Daniel Mack , Enric Balletbo i Serra , Arnd Bergmann , "moderated list:ARM PORT" , "open list:MIPS" List-Id: linux-pm@vger.kernel.org Hi Guenter, thanks for the review. On 01/04/2019 06:10, Guenter Roeck wrote: > On Sun, Mar 31, 2019 at 8:24 PM Daniel Lezcano > wrote: >> >> The module support for the thermal subsystem does have a little sense: > > Do you mean "makes little sense" ? yep :) >> - some subsystems relying on it are not modules, thus forcing the >> framework to be compiled in >> - it is compiled in for almost every configs, the remaining ones >> are a few platforms where I don't see why we can not switch the thermal >> to 'y'. The drivers can stay in tristate. >> - platforms need the thermal to be ready as soon as possible at boot time >> in order to mitigate >> >> Usually the subsystems framework are compiled-in and the plugs are as module. >> >> Remove the module option. The removal of the module related dead code will >> come after this patch gets in or is acked. >> >> Signed-off-by: Daniel Lezcano > > Sounds like a good idea. > > Acked-by: Guenter Roeck > > Many dependencies such as the following can probably be simplified or > removed after this patch has been accepted. > > depends on THERMAL=y > depends on THERMAL || THERMAL=n > depends on (HWMON && (THERMAL || !THERMAL_OF)) || !HWMON > depends on !(MLXSW_CORE=y && THERMAL=m) > depends on THERMAL || !THERMAL > depends on HWMON=y || HWMON=THERMAL > depends on THERMAL || !THERMAL_OF Absolutely. -- Daniel -- Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog