Skip to content

Commit d00ebcc

Browse files
Yang Lirafaeljw
authored andcommitted
cpuidle: Fix cpuidle_remove_state_sysfs() kerneldoc comment
Fix function name in sysfs.c kernel-doc comment to remove a warning found by running scripts/kernel-doc, which is caused by using 'make W=1'. drivers/cpuidle/sysfs.c:512: warning: expecting prototype for cpuidle_remove_driver_sysfs(). Prototype was for cpuidle_remove_state_sysfs() instead Reported-by: Abaci Robot <abaci@linux.alibaba.com> Signed-off-by: Yang Li <yang.lee@linux.alibaba.com> [ rjw: Subject edits ] Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
1 parent 14e6c70 commit d00ebcc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/cpuidle/sysfs.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -505,7 +505,7 @@ static int cpuidle_add_state_sysfs(struct cpuidle_device *device)
505505
}
506506

507507
/**
508-
* cpuidle_remove_driver_sysfs - removes the cpuidle states sysfs attributes
508+
* cpuidle_remove_state_sysfs - removes the cpuidle states sysfs attributes
509509
* @device: the target device
510510
*/
511511
static void cpuidle_remove_state_sysfs(struct cpuidle_device *device)

0 commit comments

Comments
 (0)