Skip to contentSkip to conversation

[2.6] Fix power/shutdown.c comments

PATCH New Roger Luethi 1 participant 1 message May 20, 2004

Subsystems (4)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 [2.6] Fix power/shutdown.c comments

Make the comments in drivers/base/power/shutdown.c somewhat less wrong. There's still room for improvement :-/.

Patch against 2.6.6.

Roger

drivers/base/power/shutdown.c +3 -3
@@ -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)
 {