Skip to content

Commit dbcfa71

Browse files
rddunlaprafaeljw
authored andcommitted
PM: sleep: unmark 'state' functions as kernel-doc
Fix kernel-doc warnings in kernel/power/main.c by unmarking the comment block as kernel-doc notation. This eliminates the following kernel-doc warnings: kernel/power/main.c:593: warning: expecting prototype for state(). Prototype was for state_show() instead kernel/power/main.c:593: warning: Function parameter or member 'kobj' not described in 'state_show' kernel/power/main.c:593: warning: Function parameter or member 'attr' not described in 'state_show' kernel/power/main.c:593: warning: Function parameter or member 'buf' not described in 'state_show' Signed-off-by: Randy Dunlap <[email protected]> Signed-off-by: Rafael J. Wysocki <[email protected]>
1 parent 4fac49f commit dbcfa71

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

kernel/power/main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -577,7 +577,7 @@ static inline void pm_print_times_init(void) {}
577577

578578
struct kobject *power_kobj;
579579

580-
/**
580+
/*
581581
* state - control system sleep states.
582582
*
583583
* show() returns available sleep state labels, which may be "mem", "standby",

0 commit comments

Comments
 (0)