From: Roger Luethi <rl@hellgate.ch>
To: Andrew Morton <akpm@osdl.org>
Cc: linux-kernel@vger.kernel.org, trivial@rustcorp.com.au
Subject: [PATCH][2.6] Fix power/shutdown.c comments
Date: Thu, 20 May 2004 21:44:39 +0200 [thread overview]
Message-ID: <20040520194439.GA22904@k3.hellgate.ch> (raw)
[-- Attachment #1: Type: text/plain, Size: 141 bytes --]
Make the comments in drivers/base/power/shutdown.c somewhat less wrong.
There's still room for improvement :-/.
Patch against 2.6.6.
Roger
[-- Attachment #2: shutdown-2.6.6.diff --]
[-- Type: text/plain, Size: 864 bytes --]
--- linux-2.6.6/drivers/base/power/shutdown.c 2004-04-04 05:37:36.000000000 +0200
+++ linux-2.6.6-patch/drivers/base/power/shutdown.c 2004-05-20 16:19:29.988995222 +0200
@@ -34,8 +34,8 @@
/**
- * We handle system devices differently - we suspend and shut them
- * down first and resume them first. That way, we do anything stupid like
+ * We handle system devices differently - we suspend and shut them
+ * down last and resume them first. That way, we don't do anything stupid like
* shutting down the interrupt controller before any devices..
*
* Note that there are not different stages for power management calls -
@@ -45,7 +45,7 @@
extern int sysdev_shutdown(void);
/**
- * device_shutdown - call ->remove() on each device to shutdown.
+ * device_shutdown - call ->shutdown() on each device to shutdown.
*/
void device_shutdown(void)
{
reply other threads:[~2004-05-20 19:44 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20040520194439.GA22904@k3.hellgate.ch \
--to=rl@hellgate.ch \
--cc=akpm@osdl.org \
--cc=linux-kernel@vger.kernel.org \
--cc=trivial@rustcorp.com.au \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox