aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJean Delvare <khali@linux-fr.org>2011-07-28 16:48:40 -0400
committerLen Brown <len.brown@intel.com>2011-08-02 14:51:25 -0400
commitab92402af04c151c26541eb28e1c26286a429db5 (patch)
tree521228932745e6af1e7f53e5c2fc2a5e5389b7fa
parent02f8c6aee8df3cdc935e9bdd4f2d020306035dbe (diff)
thermal: hide CONFIG_THERMAL_HWMON
It's about time to revert 16d752397301b9 ("thermal: Create CONFIG_THERMAL_HWMON=n"). Anybody running a kernel >= 2.6.40 would also be running a recent enough version of lm-sensors. Actually having CONFIG_THERMAL_HWMON is pretty convenient so instead of dropping it, we keep it but hide it. Signed-off-by: Jean Delvare <khali@linux-fr.org> Cc: Rene Herman <rene.herman@gmail.com> Acked-by: Guenter Roeck <guenter.roeck@ericsson.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Len Brown <len.brown@intel.com>
-rw-r--r--Documentation/feature-removal-schedule.txt9
-rw-r--r--drivers/thermal/Kconfig8
2 files changed, 2 insertions, 15 deletions
diff --git a/Documentation/feature-removal-schedule.txt b/Documentation/feature-removal-schedule.txt
index b1c921c27519..951143dd0684 100644
--- a/Documentation/feature-removal-schedule.txt
+++ b/Documentation/feature-removal-schedule.txt
@@ -310,15 +310,6 @@ Who: Ravikiran Thirumalai <kiran@scalex86.org>
310 310
311--------------------------- 311---------------------------
312 312
313What: CONFIG_THERMAL_HWMON
314When: January 2009
315Why: This option was introduced just to allow older lm-sensors userspace
316 to keep working over the upgrade to 2.6.26. At the scheduled time of
317 removal fixed lm-sensors (2.x or 3.x) should be readily available.
318Who: Rene Herman <rene.herman@gmail.com>
319
320---------------------------
321
322What: Code that is now under CONFIG_WIRELESS_EXT_SYSFS 313What: Code that is now under CONFIG_WIRELESS_EXT_SYSFS
323 (in net/core/net-sysfs.c) 314 (in net/core/net-sysfs.c)
324When: After the only user (hal) has seen a release with the patches 315When: After the only user (hal) has seen a release with the patches
diff --git a/drivers/thermal/Kconfig b/drivers/thermal/Kconfig
index bf7c687519ef..f7f71b2d3101 100644
--- a/drivers/thermal/Kconfig
+++ b/drivers/thermal/Kconfig
@@ -14,11 +14,7 @@ menuconfig THERMAL
14 If you want this support, you should say Y or M here. 14 If you want this support, you should say Y or M here.
15 15
16config THERMAL_HWMON 16config THERMAL_HWMON
17 bool "Hardware monitoring support" 17 bool
18 depends on THERMAL 18 depends on THERMAL
19 depends on HWMON=y || HWMON=THERMAL 19 depends on HWMON=y || HWMON=THERMAL
20 help 20 default y
21 The generic thermal sysfs driver's hardware monitoring support
22 requires a 2.10.7/3.0.2 or later lm-sensors userspace.
23
24 Say Y if your user-space is new enough.