diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2007-11-20 13:56:21 -0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2008-01-24 20:40:25 -0800 |
commit | 822a89ed1ea0f7a2d8079307426fbeeac0370138 (patch) | |
tree | c49ec709a4f279885506eeebb46afaf555019a86 /drivers/base/power/shutdown.c | |
parent | c829a5b49858a83cc7bb5e1e730796575f5bb261 (diff) | |
download | op-kernel-dev-822a89ed1ea0f7a2d8079307426fbeeac0370138.zip op-kernel-dev-822a89ed1ea0f7a2d8079307426fbeeac0370138.tar.gz |
driver core: clean up shutdown.c
shutdown.c had some stuff it did not need, including a duplicate extern
in the power.h file. This cleans up all of that.
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/base/power/shutdown.c')
-rw-r--r-- | drivers/base/power/shutdown.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/base/power/shutdown.c b/drivers/base/power/shutdown.c index f51cbc1d..5b6bc16 100644 --- a/drivers/base/power/shutdown.c +++ b/drivers/base/power/shutdown.c @@ -12,10 +12,6 @@ #include <asm/semaphore.h> #include "../base.h" -#include "power.h" - -#define to_dev(node) container_of(node, struct device, kobj.entry) - /** * We handle system devices differently - we suspend and shut them @@ -45,4 +41,3 @@ void device_shutdown(void) } } } - |