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

Showing the changes to kernel (1 of 1 file). Show all

Unified · Split

kernel/power/main.c+1−1
@@ -577,7 +577,7 @@ static inline void pm_print_times_init(void) {} · 576 unmodified lines
577 577
578struct kobject *power_kobj;578struct kobject *power_kobj;
579 579
580/**580/*
581 * state - control system sleep states.581 * state - control system sleep states.
582 *582 *
583 * show() returns available sleep state labels, which may be "mem", "standby",583 * show() returns available sleep state labels, which may be "mem", "standby",