Commit 245f2bf2 authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

[PATCH] Fix power/shutdown.c comments

From: Roger Luethi <rl@hellgate.ch>

Make the comments in drivers/base/power/shutdown.c somewhat less wrong. 
There's still room for improvement :-/.
parent 0c44e490
...@@ -34,8 +34,8 @@ int device_detach_shutdown(struct device * dev) ...@@ -34,8 +34,8 @@ int device_detach_shutdown(struct device * dev)
/** /**
* We handle system devices differently - we suspend and shut them * We handle system devices differently - we suspend and shut them
* down first and resume them first. That way, we do anything stupid like * down last and resume them first. That way, we don't do anything stupid like
* shutting down the interrupt controller before any devices.. * shutting down the interrupt controller before any devices..
* *
* Note that there are not different stages for power management calls - * Note that there are not different stages for power management calls -
...@@ -45,7 +45,7 @@ int device_detach_shutdown(struct device * dev) ...@@ -45,7 +45,7 @@ int device_detach_shutdown(struct device * dev)
extern int sysdev_shutdown(void); 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) void device_shutdown(void)
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment