aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/base/power
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@suse.de>2007-11-20 16:56:21 -0500
committerGreg Kroah-Hartman <gregkh@suse.de>2008-01-24 23:40:25 -0500
commit822a89ed1ea0f7a2d8079307426fbeeac0370138 (patch)
treec49ec709a4f279885506eeebb46afaf555019a86 /drivers/base/power
parentc829a5b49858a83cc7bb5e1e730796575f5bb261 (diff)
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')
-rw-r--r--drivers/base/power/power.h7
-rw-r--r--drivers/base/power/shutdown.c5
2 files changed, 0 insertions, 12 deletions
diff --git a/drivers/base/power/power.h b/drivers/base/power/power.h
index 10c20840395e..6f0dfca8ebdd 100644
--- a/drivers/base/power/power.h
+++ b/drivers/base/power/power.h
@@ -1,10 +1,3 @@
1/*
2 * shutdown.c
3 */
4
5extern void device_shutdown(void);
6
7
8#ifdef CONFIG_PM_SLEEP 1#ifdef CONFIG_PM_SLEEP
9 2
10/* 3/*
diff --git a/drivers/base/power/shutdown.c b/drivers/base/power/shutdown.c
index f51cbc1d402c..5b6bc168ffba 100644
--- a/drivers/base/power/shutdown.c
+++ b/drivers/base/power/shutdown.c
@@ -12,10 +12,6 @@
12#include <asm/semaphore.h> 12#include <asm/semaphore.h>
13 13
14#include "../base.h" 14#include "../base.h"
15#include "power.h"
16
17#define to_dev(node) container_of(node, struct device, kobj.entry)
18
19 15
20/** 16/**
21 * We handle system devices differently - we suspend and shut them 17 * We handle system devices differently - we suspend and shut them
@@ -45,4 +41,3 @@ void device_shutdown(void)
45 } 41 }
46 } 42 }
47} 43}
48