summaryrefslogtreecommitdiffstats
path: root/drivers/thermal
diff options
context:
space:
mode:
authorEduardo Valentin <edubezval@gmail.com>2016-11-08 06:09:16 +0100
committerZhang Rui <rui.zhang@intel.com>2016-11-23 03:06:12 +0100
commit712afbdfdf0d4137f7b14877d01309b76577d90a (patch)
treebebe8e30f2904dcca334d064643789bc41aaf0b1 /drivers/thermal
parentthermal: core: add a comment describing the main update loop (diff)
downloadlinux-712afbdfdf0d4137f7b14877d01309b76577d90a.tar.xz
linux-712afbdfdf0d4137f7b14877d01309b76577d90a.zip
thermal: core: add a comment describing the power actor section
Simply marking the power actor section and adding a comment describing it. Cc: Zhang Rui <rui.zhang@intel.com> Cc: linux-pm@vger.kernel.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Eduardo Valentin <edubezval@gmail.com> Signed-off-by: Zhang Rui <rui.zhang@intel.com>
Diffstat (limited to 'drivers/thermal')
-rw-r--r--drivers/thermal/thermal_core.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/thermal/thermal_core.c b/drivers/thermal/thermal_core.c
index bf108db6ae5d..e9e6bb9085a1 100644
--- a/drivers/thermal/thermal_core.c
+++ b/drivers/thermal/thermal_core.c
@@ -461,6 +461,13 @@ static void thermal_zone_device_check(struct work_struct *work)
thermal_zone_device_update(tz, THERMAL_EVENT_UNSPECIFIED);
}
+/*
+ * Power actor section: interface to power actors to estimate power
+ *
+ * Set of functions used to interact to cooling devices that know
+ * how to estimate their devices power consumption.
+ */
+
/**
* power_actor_get_max_power() - get the maximum power that a cdev can consume
* @cdev: pointer to &thermal_cooling_device