diff options
author | Adrian Bunk <bunk@stusta.de> | 2005-12-12 04:31:03 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2006-01-04 19:18:10 -0500 |
commit | 1f1bf132d81ed723bc5fefbcec7d0779ce683a4f (patch) | |
tree | 59cfbf241906753770c6150ef76efd1816210b74 /drivers/base | |
parent | e80a5dea8e056d8f398be1900d61c581d379f02f (diff) |
[PATCH] drivers/base/power/runtime.c: #if 0 dpm_set_power_state()
This patch #if 0's an unused global function.
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/base')
-rw-r--r-- | drivers/base/power/runtime.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/base/power/runtime.c b/drivers/base/power/runtime.c index adbc3148c039..4bafef83e79f 100644 --- a/drivers/base/power/runtime.c +++ b/drivers/base/power/runtime.c | |||
@@ -64,6 +64,7 @@ int dpm_runtime_suspend(struct device * dev, pm_message_t state) | |||
64 | } | 64 | } |
65 | 65 | ||
66 | 66 | ||
67 | #if 0 | ||
67 | /** | 68 | /** |
68 | * dpm_set_power_state - Update power_state field. | 69 | * dpm_set_power_state - Update power_state field. |
69 | * @dev: Device. | 70 | * @dev: Device. |
@@ -80,3 +81,4 @@ void dpm_set_power_state(struct device * dev, pm_message_t state) | |||
80 | dev->power.power_state = state; | 81 | dev->power.power_state = state; |
81 | up(&dpm_sem); | 82 | up(&dpm_sem); |
82 | } | 83 | } |
84 | #endif /* 0 */ | ||