mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-11 12:28:41 +08:00
thermal/governor: Remove deprecated information
The userspace governor is still in use on production systems and the
deprecating warning is scary.
Even if we want to get rid of the userspace governor, it is too soon
yet as the alternatives are not yet adopted.
Change the deprecated warning by an information message suggesting to
switch to the netlink thermal events.
Fixes: 0275c9fb0e
("thermal/core: Make the userspace governor deprecated")
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
This commit is contained in:
parent
5a42ac43d0
commit
fa1ef24ae2
@ -113,8 +113,10 @@ config THERMAL_DEFAULT_GOV_USER_SPACE
|
||||
bool "user_space"
|
||||
select THERMAL_GOV_USER_SPACE
|
||||
help
|
||||
Select this if you want to let the user space manage the
|
||||
platform thermals.
|
||||
The Userspace governor allows to get trip point crossed
|
||||
notification from the kernel via uevents. It is recommended
|
||||
to use the netlink interface instead which gives richer
|
||||
information about the thermal framework events.
|
||||
|
||||
config THERMAL_DEFAULT_GOV_POWER_ALLOCATOR
|
||||
bool "power_allocator"
|
||||
|
@ -17,8 +17,7 @@
|
||||
|
||||
static int user_space_bind(struct thermal_zone_device *tz)
|
||||
{
|
||||
pr_warn_once("Userspace governor deprecated: use thermal netlink " \
|
||||
"notification instead\n");
|
||||
pr_info_once("Consider using thermal netlink events interface\n");
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user