]> Git Repo - linux.git/commitdiff
powercap: idle_inject: Replace play_idle() with play_idle_precise() in comments
authorYangtao Li <[email protected]>
Sun, 21 Jun 2020 08:04:12 +0000 (16:04 +0800)
committerRafael J. Wysocki <[email protected]>
Thu, 9 Jul 2020 12:40:07 +0000 (14:40 +0200)
After commit 333cff6c963fbc ("powercap/drivers/idle_inject: Specify
idle state max latency"), we convert to use play_idle_precise() with
max allowed latency to specify the idle state.

Some function comments still use play_idle(), let's update it to
play_idle_precise().

Signed-off-by: Yangtao Li <[email protected]>
Signed-off-by: Frank Lee <[email protected]>
Signed-off-by: Rafael J. Wysocki <[email protected]>
drivers/powercap/idle_inject.c

index c90f0990968bebf69d7b00e6c5484302982f0e62..597733ed86e9034e2e6ec6d3b58b40b14c5c8117 100644 (file)
@@ -19,8 +19,8 @@
  * The idle + run duration is specified via separate helpers and that allows
  * idle injection to be started.
  *
- * The idle injection kthreads will call play_idle() with the idle duration
- * specified as per the above.
+ * The idle injection kthreads will call play_idle_precise() with the idle
+ * duration and max allowed latency specified as per the above.
  *
  * After all of them have been woken up, a timer is set to start the next idle
  * injection cycle.
@@ -100,7 +100,7 @@ static void idle_inject_wakeup(struct idle_inject_device *ii_dev)
  *
  * This function is called when the idle injection timer expires.  It wakes up
  * idle injection tasks associated with the timer and they, in turn, invoke
- * play_idle() to inject a specified amount of CPU idle time.
+ * play_idle_precise() to inject a specified amount of CPU idle time.
  *
  * Return: HRTIMER_RESTART.
  */
@@ -124,8 +124,8 @@ static enum hrtimer_restart idle_inject_timer_fn(struct hrtimer *timer)
  * idle_inject_fn - idle injection work function
  * @cpu: the CPU owning the task
  *
- * This function calls play_idle() to inject a specified amount of CPU idle
- * time.
+ * This function calls play_idle_precise() to inject a specified amount of CPU
+ * idle time.
  */
 static void idle_inject_fn(unsigned int cpu)
 {
This page took 0.061086 seconds and 4 git commands to generate.