summaryrefslogtreecommitdiffstats
path: root/kernel/power
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2023-09-25 09:40:58 +0200
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2023-09-26 20:25:46 +0200
commit7bf770f74e850c0b8d21ac143b3b2bc18813a6eb (patch)
tree87aef87c3c29182d647280eaea2418b2a9124b4a /kernel/power
parentPM: hibernate: Clean up sync_read handling in snapshot_write_next() (diff)
downloadlinux-7bf770f74e850c0b8d21ac143b3b2bc18813a6eb.tar.xz
linux-7bf770f74e850c0b8d21ac143b3b2bc18813a6eb.zip
PM: hibernate: fix the kerneldoc comment for swsusp_check() and swsusp_close()
The comments for both swsusp_check() and swsusp_close() don't actually describe what they are doing. Just removing the comments would probably better, but as the file is full of useless kerneldoc comments for non-exported symbols this fits in better with the style. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'kernel/power')
-rw-r--r--kernel/power/swap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/power/swap.c b/kernel/power/swap.c
index 74edbce2320b..a64af0a552f9 100644
--- a/kernel/power/swap.c
+++ b/kernel/power/swap.c
@@ -1513,7 +1513,7 @@ end:
static void *swsusp_holder;
/**
- * swsusp_check - Check for swsusp signature in the resume device
+ * swsusp_check - Open the resume device and check for the swsusp signature.
* @exclusive: Open the resume device exclusively.
*/
@@ -1564,7 +1564,7 @@ put:
}
/**
- * swsusp_close - close swap device.
+ * swsusp_close - close resume device.
* @exclusive: Close the resume device which is exclusively opened.
*/