summaryrefslogtreecommitdiffstats
path: root/drivers/cpuidle/cpuidle.c
diff options
context:
space:
mode:
authorBenjamin Gaignard <benjamin.gaignard@st.com>2020-01-21 09:27:58 +0100
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2020-01-23 00:33:31 +0100
commitcefb9409ff995fcc98ce44a07b549ba1b827c31b (patch)
treebc63608f0d7e5be06a7649f6c9bae9b32befc7b3 /drivers/cpuidle/cpuidle.c
parenta09da3fbc17f36feac00fea37a225596ae302360 (diff)
downloadlinux-stable-cefb9409ff995fcc98ce44a07b549ba1b827c31b.tar.gz
linux-stable-cefb9409ff995fcc98ce44a07b549ba1b827c31b.tar.bz2
linux-stable-cefb9409ff995fcc98ce44a07b549ba1b827c31b.zip
cpuidle: fix cpuidle_find_deepest_state() kerneldoc warnings
Fix cpuidle_find_deepest_state() kernel documentation to avoid warnings when compiling with W=1. Signed-off-by: Benjamin Gaignard <benjamin.gaignard@st.com> Acked-by: Randy Dunlap <rdunlap@infradead.org> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/cpuidle/cpuidle.c')
-rw-r--r--drivers/cpuidle/cpuidle.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/cpuidle/cpuidle.c b/drivers/cpuidle/cpuidle.c
index 33d19c8eb027..ad064d84da5e 100644
--- a/drivers/cpuidle/cpuidle.c
+++ b/drivers/cpuidle/cpuidle.c
@@ -121,6 +121,9 @@ void cpuidle_use_deepest_state(u64 latency_limit_ns)
* cpuidle_find_deepest_state - Find the deepest available idle state.
* @drv: cpuidle driver for the given CPU.
* @dev: cpuidle device for the given CPU.
+ * @latency_limit_ns: Idle state exit latency limit
+ *
+ * Return: the index of the deepest available idle state.
*/
int cpuidle_find_deepest_state(struct cpuidle_driver *drv,
struct cpuidle_device *dev,