cpuidle: Add a kerneldoc comment to cpuidle_use_deepest_state()
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 1 Dec 2016 22:31:32 +0000 (23:31 +0100)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 6 Dec 2016 01:25:03 +0000 (02:25 +0100)
Since cpuidle_use_deepest_state() is not static, add a proper
kerneldoc comment to it to document its purpose.

Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/cpuidle/cpuidle.c

index afc005b917fe58f8b82aec7134a53398990f1b48..62810ff3b00f33d1799fb882ea4172bbce040ae8 100644 (file)
@@ -97,7 +97,13 @@ static int find_deepest_state(struct cpuidle_driver *drv,
        return ret;
 }
 
-/* Set the current cpu to use the deepest idle state, override governors */
+/**
+ * cpuidle_use_deepest_state - Set/clear governor override flag.
+ * @enable: New value of the flag.
+ *
+ * Set/unset the current CPU to use the deepest idle state (override governors
+ * going forward if set).
+ */
 void cpuidle_use_deepest_state(bool enable)
 {
        struct cpuidle_device *dev;