History

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'

Randy Dunlap committed 5 years ago

Commit dbcfa711 parent 4fac49f1 file · +1 −1Browse files

Unified · Split

kernel/power/main.c+1−1
@@ -577,7 +577,7 @@ static inline void pm_print_times_init(void) {} · 576 unmodified lines
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",