diff options
author | Jeff Johnson <quic_jjohnson@quicinc.com> | 2024-05-05 17:42:16 -0700 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2024-05-07 13:54:58 +0200 |
commit | 774459238f80f914bb133099239f3a150892d342 (patch) | |
tree | 9c2ad84eabae89a69a16d656661ba3fe9b95bfdb /drivers/cpuidle/governors | |
parent | 90bc39d954081667701969d9bafe95038e12b829 (diff) | |
download | lwn-774459238f80f914bb133099239f3a150892d342.tar.gz lwn-774459238f80f914bb133099239f3a150892d342.zip |
cpuidle: ladder: fix ladder_do_selection() kernel-doc
make C=1 reports:
warning: Function parameter or struct member 'dev' not described in 'ladder_do_selection'
Document 'dev' for this function.
Signed-off-by: Jeff Johnson <quic_jjohnson@quicinc.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/cpuidle/governors')
-rw-r--r-- | drivers/cpuidle/governors/ladder.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/cpuidle/governors/ladder.c b/drivers/cpuidle/governors/ladder.c index 8e9058c4ea63..6617eb494a11 100644 --- a/drivers/cpuidle/governors/ladder.c +++ b/drivers/cpuidle/governors/ladder.c @@ -44,6 +44,7 @@ static DEFINE_PER_CPU(struct ladder_device, ladder_devices); /** * ladder_do_selection - prepares private data for a state change + * @dev: the CPU * @ldev: the ladder device * @old_idx: the current state index * @new_idx: the new target state index |