Commit 77445923 authored by Jeff Johnson's avatar Jeff Johnson Committed by Rafael J. Wysocki
Browse files

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: default avatarJeff Johnson <quic_jjohnson@quicinc.com>
Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
parent 90bc39d9
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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