summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorShaokun Zhang <zhangshaokun@hisilicon.com>2021-05-06 07:54:22 +0200
committerCatalin Marinas <catalin.marinas@arm.com>2021-05-06 13:26:26 +0200
commitc76fba33467b96b8234a1bbef852cd257c0dca69 (patch)
tree5c513d8b2e6f6ee1dc19c0ae06ade683d3744d62
parentarm64: Fix the documented event stream frequency (diff)
downloadlinux-c76fba33467b96b8234a1bbef852cd257c0dca69.tar.xz
linux-c76fba33467b96b8234a1bbef852cd257c0dca69.zip
arm64: kernel: Update the stale comment
Commit af391b15f7b5 ("arm64: kernel: rename __cpu_suspend to keep it aligned with arm") has used @index instead of @arg, but the comment is stale, update it. Cc: Sudeep Holla <sudeep.holla@arm.com> Cc: Will Deacon <will@kernel.org> Signed-off-by: Shaokun Zhang <zhangshaokun@hisilicon.com> Reviewed-by: Sudeep Holla <sudeep.holla@arm.com> Link: https://lore.kernel.org/r/1620280462-21937-1-git-send-email-zhangshaokun@hisilicon.com Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
-rw-r--r--arch/arm64/kernel/cpuidle.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm64/kernel/cpuidle.c b/arch/arm64/kernel/cpuidle.c
index b512b5503f6e..03991eeff643 100644
--- a/arch/arm64/kernel/cpuidle.c
+++ b/arch/arm64/kernel/cpuidle.c
@@ -29,7 +29,7 @@ int arm_cpuidle_init(unsigned int cpu)
/**
* arm_cpuidle_suspend() - function to enter a low-power idle state
- * @arg: argument to pass to CPU suspend operations
+ * @index: argument to pass to CPU suspend operations
*
* Return: 0 on success, -EOPNOTSUPP if CPU suspend hook not initialized, CPU
* operations back-end error code otherwise.