diff options
author | Adrian Bunk <bunk@stusta.de> | 2005-12-12 10:31:03 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2006-01-05 01:18:10 +0100 |
commit | 1f1bf132d81ed723bc5fefbcec7d0779ce683a4f (patch) | |
tree | 59cfbf241906753770c6150ef76efd1816210b74 /drivers | |
parent | [PATCH] sysfs: handle failures in sysfs_make_dirent (diff) | |
download | linux-1f1bf132d81ed723bc5fefbcec7d0779ce683a4f.tar.xz linux-1f1bf132d81ed723bc5fefbcec7d0779ce683a4f.zip |
[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')
-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) } +#if 0 /** * dpm_set_power_state - Update power_state field. * @dev: Device. @@ -80,3 +81,4 @@ void dpm_set_power_state(struct device * dev, pm_message_t state) dev->power.power_state = state; up(&dpm_sem); } +#endif /* 0 */ |