summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRandy Dunlap <rdunlap@infradead.org>2021-08-10 03:44:42 +0200
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2021-08-16 18:49:39 +0200
commitdbcfa7156f48ebb72dfc8f4e5d702af8ca1d4b3a (patch)
treeb9616f2b58fa0e818a356c2435df8b97b1b76137
parentPM: sleep: check RTC features instead of ops in suspend_test (diff)
downloadlinux-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.c2
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",