aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Lezcano <daniel.lezcano@linaro.org>2019-04-02 12:12:44 -0400
committerZhang Rui <rui.zhang@intel.com>2019-05-06 08:35:24 -0400
commit554b3529fe018e74cb5d0d0f476ee793b58b030a (patch)
treee37418ffd1e338621d4b8b046aca993f662e9429
parentdc4060a5dc2557e6b5aa813bf5b73677299d62d2 (diff)
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>
-rw-r--r--arch/arm/configs/mini2440_defconfig2
-rw-r--r--arch/arm/configs/pxa_defconfig2
-rw-r--r--arch/mips/configs/ip22_defconfig2
-rw-r--r--arch/mips/configs/ip27_defconfig2
-rw-r--r--arch/unicore32/configs/unicore32_defconfig2
-rw-r--r--drivers/thermal/Kconfig4
6 files changed, 7 insertions, 7 deletions
diff --git a/arch/arm/configs/mini2440_defconfig b/arch/arm/configs/mini2440_defconfig
index d95a8059d30b..0cf1c120c4bb 100644
--- a/arch/arm/configs/mini2440_defconfig
+++ b/arch/arm/configs/mini2440_defconfig
@@ -152,7 +152,7 @@ CONFIG_SPI_S3C24XX=y
152CONFIG_SPI_SPIDEV=y 152CONFIG_SPI_SPIDEV=y
153CONFIG_GPIO_SYSFS=y 153CONFIG_GPIO_SYSFS=y
154CONFIG_SENSORS_LM75=y 154CONFIG_SENSORS_LM75=y
155CONFIG_THERMAL=m 155CONFIG_THERMAL=y
156CONFIG_WATCHDOG=y 156CONFIG_WATCHDOG=y
157CONFIG_S3C2410_WATCHDOG=y 157CONFIG_S3C2410_WATCHDOG=y
158CONFIG_FB=y 158CONFIG_FB=y
diff --git a/arch/arm/configs/pxa_defconfig b/arch/arm/configs/pxa_defconfig
index d4654755b09c..d4f9dda3a52f 100644
--- a/arch/arm/configs/pxa_defconfig
+++ b/arch/arm/configs/pxa_defconfig
@@ -387,7 +387,7 @@ CONFIG_SENSORS_LM75=m
387CONFIG_SENSORS_LM90=m 387CONFIG_SENSORS_LM90=m
388CONFIG_SENSORS_LM95245=m 388CONFIG_SENSORS_LM95245=m
389CONFIG_SENSORS_NTC_THERMISTOR=m 389CONFIG_SENSORS_NTC_THERMISTOR=m
390CONFIG_THERMAL=m 390CONFIG_THERMAL=y
391CONFIG_WATCHDOG=y 391CONFIG_WATCHDOG=y
392CONFIG_XILINX_WATCHDOG=m 392CONFIG_XILINX_WATCHDOG=m
393CONFIG_SA1100_WATCHDOG=m 393CONFIG_SA1100_WATCHDOG=m
diff --git a/arch/mips/configs/ip22_defconfig b/arch/mips/configs/ip22_defconfig
index ff40fbc2f439..21a1168ae301 100644
--- a/arch/mips/configs/ip22_defconfig
+++ b/arch/mips/configs/ip22_defconfig
@@ -228,7 +228,7 @@ CONFIG_SERIAL_IP22_ZILOG=m
228# CONFIG_HW_RANDOM is not set 228# CONFIG_HW_RANDOM is not set
229CONFIG_RAW_DRIVER=m 229CONFIG_RAW_DRIVER=m
230# CONFIG_HWMON is not set 230# CONFIG_HWMON is not set
231CONFIG_THERMAL=m 231CONFIG_THERMAL=y
232CONFIG_WATCHDOG=y 232CONFIG_WATCHDOG=y
233CONFIG_INDYDOG=m 233CONFIG_INDYDOG=m
234# CONFIG_VGA_CONSOLE is not set 234# CONFIG_VGA_CONSOLE is not set
diff --git a/arch/mips/configs/ip27_defconfig b/arch/mips/configs/ip27_defconfig
index 81c47e18131b..54db5dedf776 100644
--- a/arch/mips/configs/ip27_defconfig
+++ b/arch/mips/configs/ip27_defconfig
@@ -271,7 +271,7 @@ CONFIG_I2C_PARPORT_LIGHT=m
271CONFIG_I2C_TAOS_EVM=m 271CONFIG_I2C_TAOS_EVM=m
272CONFIG_I2C_STUB=m 272CONFIG_I2C_STUB=m
273# CONFIG_HWMON is not set 273# CONFIG_HWMON is not set
274CONFIG_THERMAL=m 274CONFIG_THERMAL=y
275CONFIG_MFD_PCF50633=m 275CONFIG_MFD_PCF50633=m
276CONFIG_PCF50633_ADC=m 276CONFIG_PCF50633_ADC=m
277CONFIG_PCF50633_GPIO=m 277CONFIG_PCF50633_GPIO=m
diff --git a/arch/unicore32/configs/unicore32_defconfig b/arch/unicore32/configs/unicore32_defconfig
index aebd01fc28e5..360cc9abcdb0 100644
--- a/arch/unicore32/configs/unicore32_defconfig
+++ b/arch/unicore32/configs/unicore32_defconfig
@@ -119,7 +119,7 @@ CONFIG_I2C_PUV3=y
119# Hardware Monitoring support 119# Hardware Monitoring support
120#CONFIG_SENSORS_LM75=m 120#CONFIG_SENSORS_LM75=m
121# Generic Thermal sysfs driver 121# Generic Thermal sysfs driver
122#CONFIG_THERMAL=m 122#CONFIG_THERMAL=y
123#CONFIG_THERMAL_HWMON=y 123#CONFIG_THERMAL_HWMON=y
124 124
125# Multimedia support 125# Multimedia support
diff --git a/drivers/thermal/Kconfig b/drivers/thermal/Kconfig
index 653aa27a25a4..ccf5b9408d7a 100644
--- a/drivers/thermal/Kconfig
+++ b/drivers/thermal/Kconfig
@@ -3,7 +3,7 @@
3# 3#
4 4
5menuconfig THERMAL 5menuconfig THERMAL
6 tristate "Generic Thermal sysfs driver" 6 bool "Generic Thermal sysfs driver"
7 help 7 help
8 Generic Thermal Sysfs driver offers a generic mechanism for 8 Generic Thermal Sysfs driver offers a generic mechanism for
9 thermal management. Usually it's made up of one or more thermal 9 thermal management. Usually it's made up of one or more thermal
@@ -11,7 +11,7 @@ menuconfig THERMAL
11 Each thermal zone contains its own temperature, trip points, 11 Each thermal zone contains its own temperature, trip points,
12 cooling devices. 12 cooling devices.
13 All platforms with ACPI thermal support can use this driver. 13 All platforms with ACPI thermal support can use this driver.
14 If you want this support, you should say Y or M here. 14 If you want this support, you should say Y here.
15 15
16if THERMAL 16if THERMAL
17 17