diff options
author | Randy Dunlap <rdunlap@infradead.org> | 2021-08-10 03:44:42 +0200 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2021-08-16 18:49:39 +0200 |
commit | dbcfa7156f48ebb72dfc8f4e5d702af8ca1d4b3a (patch) | |
tree | b9616f2b58fa0e818a356c2435df8b97b1b76137 | |
parent | PM: sleep: check RTC features instead of ops in suspend_test (diff) | |
download | linux-dbcfa7156f48ebb72dfc8f4e5d702af8ca1d4b3a.tar.xz linux-dbcfa7156f48ebb72dfc8f4e5d702af8ca1d4b3a.zip |
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 <rdunlap@infradead.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
-rw-r--r-- | kernel/power/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/power/main.c b/kernel/power/main.c index 12c7e1bb442f..44169f3081fd 100644 --- a/kernel/power/main.c +++ b/kernel/power/main.c @@ -577,7 +577,7 @@ static inline void pm_print_times_init(void) {} struct kobject *power_kobj; -/** +/* * state - control system sleep states. * * show() returns available sleep state labels, which may be "mem", "standby", |