From: Christoph Hellwig Date: Mon, 25 Sep 2023 07:40:58 +0000 (+0200) Subject: PM: hibernate: fix the kerneldoc comment for swsusp_check() and swsusp_close() X-Git-Tag: v6.7-rc1~157^2^2^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=7bf770f74e850c0b8d21ac143b3b2bc18813a6eb;p=thirdparty%2Fkernel%2Flinux.git 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 Signed-off-by: Rafael J. Wysocki --- diff --git a/kernel/power/swap.c b/kernel/power/swap.c index 74edbce2320ba..a64af0a552f96 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. */