浏览代码

cpuidle: Fix the kerneldoc comment for cpuidle_enter_state()

The kerneldoc comment for cpuidle_enter_state() doesn't match the
function's header any more, so fix it.

Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Rafael J. Wysocki 10 年之前
父节点
当前提交
7312280bd2
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      drivers/cpuidle/cpuidle.c

+ 1 - 1
drivers/cpuidle/cpuidle.c

@@ -150,7 +150,7 @@ int cpuidle_enter_freeze(struct cpuidle_driver *drv, struct cpuidle_device *dev)
  * cpuidle_enter_state - enter the state and update stats
  * @dev: cpuidle device for this cpu
  * @drv: cpuidle driver for this cpu
- * @next_state: index into drv->states of the state to enter
+ * @index: index into the states table in @drv of the state to enter
  */
 int cpuidle_enter_state(struct cpuidle_device *dev, struct cpuidle_driver *drv,
 			int index)