OSDN Git Service

thermal/drivers/core: Remove the module Kconfig's option
authorDaniel Lezcano <daniel.lezcano@linaro.org>
Tue, 2 Apr 2019 16:12:44 +0000 (18:12 +0200)
committerZhang Rui <rui.zhang@intel.com>
Mon, 6 May 2019 12:35:24 +0000 (20:35 +0800)
commit554b3529fe018e74cb5d0d0f476ee793b58b030a
treee37418ffd1e338621d4b8b046aca993f662e9429
parentdc4060a5dc2557e6b5aa813bf5b73677299d62d2
thermal/drivers/core: Remove the module Kconfig's option

The module support for the thermal subsystem makes little sense:
 - 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 <daniel.lezcano@linaro.org>
Acked-by: Guenter Roeck <groeck@chromium.org>
For mini2440:
Acked-by: Krzysztof Kozlowski <krzk@kernel.org>
Acked-by: Paul Burton <paul.burton@mips.com> # MIPS part
Acked-by: Robert Jarzmik <robert.jarzmik@free.fr>
Signed-off-by: Zhang Rui <rui.zhang@intel.com>
arch/arm/configs/mini2440_defconfig
arch/arm/configs/pxa_defconfig
arch/mips/configs/ip22_defconfig
arch/mips/configs/ip27_defconfig
arch/unicore32/configs/unicore32_defconfig
drivers/thermal/Kconfig